Sort students in group view.