Invert sense of count sort

This commit is contained in:
Gabriel Tofvesson 2024-10-25 18:37:15 +02:00
parent e86c43ac72
commit 0b31ec58da

View File

@ -198,10 +198,10 @@ local PAGES = {
end end
local SORT_MODE = { local SORT_MODE = {
composeSortFuncs(sortByCount, sortByName, sortByType, sortByDamage), composeSortFuncs(sortByCount, true, sortByName, sortByType, sortByDamage),
composeSortFuncs(sortByName, sortByType, sortByDamage, sortByCount), composeSortFuncs(sortByName, sortByType, sortByDamage, sortByCount),
composeSortFuncs(sortByType, sortByDamage, sortByCount, sortByName), composeSortFuncs(sortByType, sortByDamage, sortByCount, sortByName),
composeSortFuncs(sortByCount, true, sortByName, sortByType, sortByDamage), composeSortFuncs(sortByCount, sortByName, sortByType, sortByDamage),
composeSortFuncs(sortByName, true, sortByType, sortByDamage, sortByCount), composeSortFuncs(sortByName, true, sortByType, sortByDamage, sortByCount),
composeSortFuncs(sortByType, true, sortByDamage, sortByCount, sortByName) composeSortFuncs(sortByType, true, sortByDamage, sortByCount, sortByName)
} }