diff --git a/FusionIIIT/applications/academic_procedures/views.py b/FusionIIIT/applications/academic_procedures/views.py index e925042a4..4848e34cf 100644 --- a/FusionIIIT/applications/academic_procedures/views.py +++ b/FusionIIIT/applications/academic_procedures/views.py @@ -997,6 +997,7 @@ def gen_course_list(request): "name": registration.student_id.id.user.first_name + " " + registration.student_id.id.user.last_name, "department": registration.student_id.id.department.name }) + verified_students = sorted(verified_students, key=lambda x: x['rollno']) html = render_to_string('academic_procedures/gen_course_list.html', {'students': verified_students, 'batch':batch, 'course':course_id}, request) maindict = {'html': html}