1 parent e78b7e1 commit 8ddbdecCopy full SHA for 8ddbdec
1 file changed
scripts/populate.js
@@ -2216,6 +2216,8 @@ class Populate {
2216
sort(data) {
2217
if (!ppt.libSource && !panel.multiProcess) return;
2218
this.specialCharSort(data);
2219
+ // View By Folder Structure is already sorted
2220
+ if (ppt.folderView) return;
2221
data.sort((a, b) => this.collator.compare(a.srt[2], b.srt[2]) || (a.srt[3] && !b.srt[3] ? 1 : 0));
2222
}
2223
@@ -2289,4 +2291,4 @@ class Populate {
2289
2291
this.setPlaylist(panel.pos, this.tree[panel.pos]);
2290
2292
lib.treeState(false, ppt.rememberTree);
2293
-}
2294
+}
0 commit comments