1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +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; this.locale = this.translationLocale = locale != null ? locale : this.systemLanguage;
try { try {
this.collator = new Intl.Collator(this.locale); this.collator = new Intl.Collator(this.locale, { numeric: true, sensitivity: 'base' });
} catch { } catch {
this.collator = null; this.collator = null;
} }