adjust collator sorting options
This commit is contained in:
parent
c29b53cdd6
commit
b5db9edc3f
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue