From b809d73d54c73ab0c5cbdf709294d0d7e37dce97 Mon Sep 17 00:00:00 2001 From: SebastianMC <23032356+SebastianMC@users.noreply.github.com> Date: Tue, 29 Aug 2023 00:09:07 +0200 Subject: [PATCH] Adjustment of comparator by bookmark order to support multi-level sorting --- src/custom-sort/custom-sort.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/custom-sort/custom-sort.ts b/src/custom-sort/custom-sort.ts index 5a4a5f6..8ec2429 100644 --- a/src/custom-sort/custom-sort.ts +++ b/src/custom-sort/custom-sort.ts @@ -102,7 +102,6 @@ export const sorterByMetadataField:(reverseOrder?: boolean, trueAlphabetical?: b } export const sorterByBookmarkOrder:(reverseOrder?: boolean, trueAlphabetical?: boolean) => SorterFn = (reverseOrder: boolean, trueAlphabetical?: boolean) => { - const collatorCompareFn: CollatorCompareFn = trueAlphabetical ? CollatorTrueAlphabeticalCompare : CollatorCompare return (a: FolderItemForSorting, b: FolderItemForSorting) => { if (reverseOrder) { [a, b] = [b, a]