Sort languages alphabetically
This commit is contained in:
parent
e9e953aee3
commit
57910d8271
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue