Fix: Sorting nodes did not work.

This commit is contained in:
baldo 2022-08-24 17:32:36 +02:00
parent e17fa4ed73
commit 672369d419

View file

@ -321,7 +321,7 @@ export function sort<
let order = 0; let order = 0;
if (as < bs) { if (as < bs) {
order = -1; order = -1;
} else if (bs > as) { } else if (as > bs) {
order = 1; order = 1;
} }