From 0b31ec58da27c05ccbe554b1e98e7114192b138b Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Fri, 25 Oct 2024 18:37:15 +0200 Subject: [PATCH] Invert sense of count sort --- itemcontroller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itemcontroller.lua b/itemcontroller.lua index 5238fef..6dd746d 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -198,10 +198,10 @@ local PAGES = { end local SORT_MODE = { - composeSortFuncs(sortByCount, sortByName, sortByType, sortByDamage), + composeSortFuncs(sortByCount, true, sortByName, sortByType, sortByDamage), composeSortFuncs(sortByName, sortByType, sortByDamage, sortByCount), composeSortFuncs(sortByType, sortByDamage, sortByCount, sortByName), - composeSortFuncs(sortByCount, true, sortByName, sortByType, sortByDamage), + composeSortFuncs(sortByCount, sortByName, sortByType, sortByDamage), composeSortFuncs(sortByName, true, sortByType, sortByDamage, sortByCount), composeSortFuncs(sortByType, true, sortByDamage, sortByCount, sortByName) }