diff --git a/FusionIIIT/templates/ais/start_elective_allocation.html b/FusionIIIT/templates/ais/start_elective_allocation.html index 29d48a2cf..8a01c6ca6 100644 --- a/FusionIIIT/templates/ais/start_elective_allocation.html +++ b/FusionIIIT/templates/ais/start_elective_allocation.html @@ -169,6 +169,7 @@ if(data.student_list.length == 0){ $('#student-list-registration').append("No Students Found") } + data.student_list.sort((a, b) => a.student.localeCompare(b.student)); for(ele in data.student_list){ $('#student-list-registration').append(""+data.student_list[ele].student+"") }