diff --git a/packages/v3/src/esp-entity-table.ts b/packages/v3/src/esp-entity-table.ts index 4bc224b..e70187e 100644 --- a/packages/v3/src/esp-entity-table.ts +++ b/packages/v3/src/esp-entity-table.ts @@ -105,9 +105,13 @@ export class EntityTable extends LitElement implements RestAction { return a.entity_category < b.entity_category ? -1 : a.entity_category == b.entity_category - ? sortA < sortB - ? -1 - : 1 + ? sortA === sortB + ? a.name < b.name + ? -1 + : 1 + : sortA < sortB + ? -1 + : 1 : 1 }); this.requestUpdate();