sorting vacancies