Files sorted wrong if names prefixed with --

Things you’d like to miss in the future...
Post Reply
roemer_m
Posts: 10
Joined: 10 Dec 2016 15:18

Files sorted wrong if names prefixed with --

Post by roemer_m »

It seems that prefixes of filenames with -- are handled in a special way (menu parser mode?) so that sort by name is wrong.
It can be reproduced by creating several empty textfiles in a folder and sort them by name gives wrong sort order for --prefixed names like following:
_A.txt
_B.txt
A.txt
--A.txt
B.txt
--B.txt

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Files sorted wrong if names prefixed with --

Post by jupe »

If you change to Binary sort, you'll probably get the order you are expecting. (in this case at least)

Configuration | General | Sort and Rename | Sort | Sort method

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Files sorted wrong if names prefixed with --

Post by admin »

Compare with the sorting of these files in Windows Explorer (which can only do Natural sorting): It's the same.

Post Reply