fix the selection of the top5 students in a group