made queue of sorted employees.