sorted enrollments for student