Sort a staff list by department, then add start date as a second sort: each department stays together, its people ordered by when they joined.