Sort folders

This commit is contained in:
Melon 2023-11-20 00:33:42 +00:00
parent a0ed3bda92
commit d950eca59f
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -25,6 +25,7 @@
} }
if (j.type === "list") { if (j.type === "list") {
folders = j.value; folders = j.value;
folders.sort((a, b) => a.Name.localeCompare(b.Name));
} }
// let a = { // let a = {
// type: "list", // type: "list",