adjust collator sorting options

This commit is contained in:
Kyle Spearrin 2018-05-02 17:00:24 -04:00
parent c29b53cdd6
commit b5db9edc3f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export class I18nService implements I18nServiceAbstraction {
this.locale = this.translationLocale = locale != null ? locale : this.systemLanguage;
try {
this.collator = new Intl.Collator(this.locale);
this.collator = new Intl.Collator(this.locale, { numeric: true, sensitivity: 'base' });
} catch {
this.collator = null;
}