1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00: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;
}