1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-25 16:59:17 +01:00

adjust collator sorting options

This commit is contained in:
Kyle Spearrin 2018-05-02 17:00:24 -04:00
parent c29b53cdd6
commit b5db9edc3f

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;
}