subsort WI Depth sort by Order to match prompt loc

This commit is contained in:
RossAscends 2023-10-08 20:12:14 +09:00
parent 2cbde8b55c
commit 19acc05516
1 changed files with 2 additions and 2 deletions

View File

@ -274,7 +274,7 @@ function sortEntries(data) {
// Sort numbers // Sort numbers
return orderSign * (Number(aValue) - Number(bValue)); return orderSign * (Number(aValue) - Number(bValue));
}; };
const secondarySort = (a, b) => b.order - a.order; const secondarySort = (a, b) => a.order - b.order;
const tertiarySort = (a, b) => a.uid - b.uid; const tertiarySort = (a, b) => a.uid - b.uid;
data.sort((a, b) => { data.sort((a, b) => {