From b5db9edc3f930a4553f1bdab347cf8468f282a54 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 2 May 2018 17:00:24 -0400 Subject: [PATCH] adjust collator sorting options --- src/services/i18n.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index 41609ce602..b826f97234 100644 --- a/src/services/i18n.service.ts +++ b/src/services/i18n.service.ts @@ -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; }