Natural sort method does not apply to non-Roman characters in sort configuaration

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: 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%).

:info: Use Your Profile Or Signature
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.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
hesisiangchi_
Posts: 17
Joined: 18 Oct 2023 18:15

Natural sort method does not apply to non-Roman characters in sort configuaration

Post by hesisiangchi_ »

xyplorer ver.28.30.2500
windows ver.11 25H2(26200.9445)
screen scaling 100%
XYplorer_pJVnF.png
XYplorer_LNFno.png
As shown in the screenshot above, when the sort method is set to Natural, files should be sorted in the order 5 → 6 → 6.5, but there is an issue where sorting becomes incorrect when Korean characters are attached. This issue occurs regardless of whether "Sort filenames by base" is enabled or disabled in the configuration.
To see the attached files, you need to log into the forum.

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

Re: Natural sort method does not apply to non-Roman characters in sort configuaration

Post by admin »

The same happens with Latin characters:

Code: Select all

0.5x.txt
0x.txt
1.5x.txt
1x.txt
2x.txt
And the same happens in File Explorer.

So, it's either how Natural sort is supposed to work, or it's a bug in the Windows sort (= string compare) API.

Post Reply