From fc63652a6e95e894a45fef4bb651bd6d1f100017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sun, 23 Apr 2023 16:42:43 +0200 Subject: [PATCH] chore: remove duplicate sort --- webui/src/util/sort.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/webui/src/util/sort.ts b/webui/src/util/sort.ts index a9bf8bc..bcdb19d 100644 --- a/webui/src/util/sort.ts +++ b/webui/src/util/sort.ts @@ -52,9 +52,6 @@ export function sortByAttribute(entries: UpEntry[]): void { } export function sortByEntity(entries: UpEntry[], sortKeys: SortKeys): void { - entries.sort((aEntry, bEntry) => { - return aEntry.attribute.localeCompare(bEntry.attribute); - }); entries.sort((aEntry, bEntry) => { if (!sortKeys[aEntry.entity]?.length || !sortKeys[bEntry.entity]?.length) { if (