Sort languages alphabetically

This commit is contained in:
Kristian Ntavidi 2021-04-28 12:16:08 +03:00
parent e9e953aee3
commit 57910d8271
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ export class LanguageInfoService {
getLanguageInfoValues(): LanguageInfo[] {
const values: LanguageInfo[] = [];
this.languageInfoValues.forEach((value) => values.push(value));
values.sort((a,b)=> a.name.localeCompare(b.name));
return values;
}