subsort WI Depth sort by Order to match prompt loc
This commit is contained in:
parent
2cbde8b55c
commit
19acc05516
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue