From 672369d41929ba58f4eed3177c75b1a2787c78b5 Mon Sep 17 00:00:00 2001 From: baldo Date: Wed, 24 Aug 2022 17:32:36 +0200 Subject: [PATCH] Fix: Sorting nodes did not work. --- server/utils/resources.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/resources.ts b/server/utils/resources.ts index c57e945..218c939 100644 --- a/server/utils/resources.ts +++ b/server/utils/resources.ts @@ -321,7 +321,7 @@ export function sort< let order = 0; if (as < bs) { order = -1; - } else if (bs > as) { + } else if (as > bs) { order = 1; }