From 79fb8de7b7cb8a743671e4a40ba572e2fd3fc754 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 1 Dec 2022 08:13:54 -0700 Subject: [PATCH] lowercase service for alphabetic sorting (#2008) --- .../ui/src/app/pages/apps-routes/app-list/app-list.page.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/projects/ui/src/app/pages/apps-routes/app-list/app-list.page.ts b/frontend/projects/ui/src/app/pages/apps-routes/app-list/app-list.page.ts index f3aec5ee2..f7d7685ff 100644 --- a/frontend/projects/ui/src/app/pages/apps-routes/app-list/app-list.page.ts +++ b/frontend/projects/ui/src/app/pages/apps-routes/app-list/app-list.page.ts @@ -19,7 +19,11 @@ export class AppListPage { return !length || prev.length !== length }), map(([_, pkgs]) => - pkgs.sort((a, b) => (b.manifest.title > a.manifest.title ? -1 : 1)), + pkgs.sort((a, b) => + b.manifest.title.toLowerCase() > a.manifest.title.toLowerCase() + ? -1 + : 1, + ), ), )