From 98e3d1264e2ec019893fb3f28e889299bb17ea6b Mon Sep 17 00:00:00 2001 From: Felix Blanke Date: Sat, 19 Aug 2023 21:12:55 +0200 Subject: [PATCH] Default to descending sort --- sorttable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/sorttable.js b/sorttable.js index 4e5a257..94e8a49 100644 --- a/sorttable.js +++ b/sorttable.js @@ -151,6 +151,7 @@ sorttable = { //sorttable.shaker_sort(row_array, this.sorttable_sortfunction); /* and comment out this one */ row_array.sort(this.sorttable_sortfunction); + row_array.reverse(); tb = this.sorttable_tbody; for (var j=0; j