No board of education shall reduce the number of janitors, janitor engineers, custodians or janitorial employees in any district by reason of residence, age, sex, race, religion or political affiliation and when any janitor, janitor engineer, custodian or janitorial employee under tenure is dismissed by reason of reduction in the number of such employees, the one having the least number of years to his credit shall be dismissed in preference to any other having a longer term of service and the person so dismissed shall be and remain upon a preferred eligibility list, in the order of years of service, for reemployment whenever vacancies occur and shall be reemployed by the board in such order and upon reemployment shall be given full recognition for previous years of service in his respective positions and employments.
N.J.S. § 18A:17-4