Page 1 of 1

0.64 win-x64: strange sorting with some characters

Posted: Sun Mar 16, 2014 2:48 pm
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 1164 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 1164 times
And how it looks like in XnViewMP:
5_another_strange_sorting.png
5_another_strange_sorting.png (21.61 KiB) Viewed 1164 times
There's a problem with dash, I guess. And there must be other characters the program has problem with.

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

Posted: Mon Mar 17, 2014 12:38 pm
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).

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

Posted: Thu Mar 20, 2014 3:15 pm
by xnview
could you send me in a text file the filename list to reproduce?

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

Posted: Thu Mar 20, 2014 4:13 pm
by xnview
See Issue 305 for current status and details.

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

Posted: Fri Feb 24, 2017 7:52 pm
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?