From c604a09344c88db72a7c7a0ea1433fe24195c812 Mon Sep 17 00:00:00 2001 From: rfdarter Date: Tue, 23 Jul 2024 23:35:52 +0200 Subject: [PATCH] case insensitive sorting --- packages/v3/src/esp-entity-table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/v3/src/esp-entity-table.ts b/packages/v3/src/esp-entity-table.ts index e70187e..42eb5d7 100644 --- a/packages/v3/src/esp-entity-table.ts +++ b/packages/v3/src/esp-entity-table.ts @@ -106,7 +106,7 @@ export class EntityTable extends LitElement implements RestAction { ? -1 : a.entity_category == b.entity_category ? sortA === sortB - ? a.name < b.name + ? a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1 : sortA < sortB