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
Files sorted wrong if names prefixed with --
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Files sorted wrong if names prefixed with --
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
Configuration | General | Sort and Rename | Sort | Sort method
-
admin
- Site Admin
- Posts: 66573
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Files sorted wrong if names prefixed with --
Compare with the sorting of these files in Windows Explorer (which can only do Natural sorting): It's the same.
FAQ | XY News RSS | XY X
XYplorer Beta Club