Sort generated sheets by number of students