mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
subsort WI Depth sort by Order to match prompt loc
This commit is contained in:
@@ -274,7 +274,7 @@ function sortEntries(data) {
|
||||
// Sort numbers
|
||||
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;
|
||||
|
||||
data.sort((a, b) => {
|
||||
|
Reference in New Issue
Block a user