0.64 win-x64: strange sorting with some characters

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
ManOnTheStreet
Posts: 1
Joined: Sun Mar 16, 2014 2:24 pm

0.64 win-x64: strange sorting with some characters

Post by ManOnTheStreet »

Hello, I noticed that when the names of files contain some characters XnViewMP sorts them pretty strange. Here is some examples.
1_normal_sorting.png
1_normal_sorting.png (4.79 KiB) Viewed 958 times
That's the list of the files with names consisting of letters from russian alphabet: https://en.wikipedia.org/wiki/Russian_alphabet The picture above demonstrates how it must be sorted (it's screenshot from Windows File Explorer). And here is how XnViewMP sorts them:
2_strange_sorting.png
Strange, but when I sort it by name (not numeric) they're sorted as it should be. But this is not what I want because it's not numeric sorting, so 100.jpg goes before 19.jpg.
3_not_numeric_sorting.png
XnViewMP sorting acts weird not only with russian characters. Here is how one folder with pictures looks like in Windows:
4_another_normal_sorting.png
4_another_normal_sorting.png (21.21 KiB) Viewed 958 times
And how it looks like in XnViewMP:
5_another_strange_sorting.png
5_another_strange_sorting.png (21.61 KiB) Viewed 958 times
There's a problem with dash, I guess. And there must be other characters the program has problem with.
User avatar
m.Th.
XnThusiast
Posts: 1663
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.64 win-x64: strange sorting with some characters

Post by m.Th. »

Yes - I confirm this bug. It happens with Greek characters also. Yes, it seems that, beside some non-latin chars, the programs put in front the "_" as well as the shortcuts (lnk files).
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.64 win-x64: strange sorting with some characters

Post by xnview »

could you send me in a text file the filename list to reproduce?
Pierre.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.64 win-x64: strange sorting with some characters

Post by xnview »

See Issue 305 for current status and details.
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.64 win-x64: strange sorting with some characters

Post by helmut »

This problem is supposed to be fixed in XnView MP 0.66 or later. Could you please try and confirm the bug fix, ManOnTheStreet?
Post Reply