subjects page: add sort function for subjects before grouping

This commit is contained in:
Alex Martzios 2022-06-24 12:51:17 +03:00
parent 23d65d08d7
commit 406ffb4dd3
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ export class SubjectsComponent {
//this.getDivContents(); //this.getDivContents();
this.getPageContents(); this.getPageContents();
this.subjects = community.subjects; this.subjects = community.subjects;
this.subjects.sort();
this.groupSubjects(); this.groupSubjects();
this.showLoading = false; this.showLoading = false;
} }