Page 1 of 1

SC formatlist - items sorting differs from in pane

Posted: 17 Nov 2016 12:02
by Nolan
XY: v17.30.0109

3 items: abc (2).txt, abc (1).txt, abc.txt sorted by ascending name are arranged in this order in pane:
#1 abc.txt
#2 abc (1).txt
#3 abc (2).txt

However, this script:

Code: Select all

text formatlist("abc (2).txt|abc (1).txt|abc.txt", "s");
or:

Code: Select all

text formatlist("abc (2).txt|abc (1).txt|abc.txt", "n");
returns a list of another order:
abc (1).txt|abc (2).txt|abc.txt

Re: SC formatlist - items sorting differs from in pane

Posted: 17 Nov 2016 12:26
by highend
This is not a bug but you're using a modified sort order in that column...

Configuration | Sort and Rename | Sort | Sort filenames by base
Disable it and you get what formatlist() reports