Sorted by Date is lexical but not numeric now...
Moderators: XnTriq, helmut, xnview, Dreamer
Sorted by Date is lexical but not numeric now...
I swear it used to be numeric somewhere up to 0.97.2, but in newer version(s) (0.98.3 in my case) i noticed it became lexical which is really unfortunate.
This applies to both browser and viewer modes.
I hope this is not intended behavior and can be fixed.
Some examples:
When sorted by date (both for normal and reversed states) it is now with lexical sorting :
1.jpg
10.jpg
11.jpg
12.jpg
13.jpg
14.jpg
15.jpg
16.jpg
17.jpg
18.jpg
19.jpg
2.jpg
20.jpg
21.jpg
22.jpg
23.jpg
3.jpg
4.jpg
5.jpg
6.jpg
7.jpg
8.jpg
9.jpg
or reversed
9.jpg
8.jpg
7.jpg
6.jpg
5.jpg
4.jpg
3.jpg
23.jpg
22.jpg
21.jpg
20.jpg
2.jpg
19.jpg
18.jpg
17.jpg
16.jpg
15.jpg
14.jpg
13.jpg
12.jpg
11.jpg
10.jpg
1.jpg
When sorted by type everything is like it used to be - with numeric sorting:
1.jpg
2.jpg
3.jpg
4.jpg
5.jpg
6.jpg
7.jpg
8.jpg
9.jpg
10.jpg
11.jpg
12.jpg
13.jpg
14.jpg
15.jpg
16.jpg
17.jpg
18.jpg
19.jpg
20.jpg
21.jpg
22.jpg
23.jpg
or reversed
23.jpg
22.jpg
21.jpg
20.jpg
19.jpg
18.jpg
17.jpg
16.jpg
15.jpg
14.jpg
13.jpg
12.jpg
11.jpg
10.jpg
9.jpg
8.jpg
7.jpg
6.jpg
5.jpg
4.jpg
3.jpg
2.jpg
1.jpg
This applies to both browser and viewer modes.
I hope this is not intended behavior and can be fixed.
Some examples:
When sorted by date (both for normal and reversed states) it is now with lexical sorting :
1.jpg
10.jpg
11.jpg
12.jpg
13.jpg
14.jpg
15.jpg
16.jpg
17.jpg
18.jpg
19.jpg
2.jpg
20.jpg
21.jpg
22.jpg
23.jpg
3.jpg
4.jpg
5.jpg
6.jpg
7.jpg
8.jpg
9.jpg
or reversed
9.jpg
8.jpg
7.jpg
6.jpg
5.jpg
4.jpg
3.jpg
23.jpg
22.jpg
21.jpg
20.jpg
2.jpg
19.jpg
18.jpg
17.jpg
16.jpg
15.jpg
14.jpg
13.jpg
12.jpg
11.jpg
10.jpg
1.jpg
When sorted by type everything is like it used to be - with numeric sorting:
1.jpg
2.jpg
3.jpg
4.jpg
5.jpg
6.jpg
7.jpg
8.jpg
9.jpg
10.jpg
11.jpg
12.jpg
13.jpg
14.jpg
15.jpg
16.jpg
17.jpg
18.jpg
19.jpg
20.jpg
21.jpg
22.jpg
23.jpg
or reversed
23.jpg
22.jpg
21.jpg
20.jpg
19.jpg
18.jpg
17.jpg
16.jpg
15.jpg
14.jpg
13.jpg
12.jpg
11.jpg
10.jpg
9.jpg
8.jpg
7.jpg
6.jpg
5.jpg
4.jpg
3.jpg
2.jpg
1.jpg
Re: Sorted by Date is lexical but not numeric now...
When View > Sort by > Date has been selected, do neither Sort by > Name nor Sort by > Name (not numeric) give the sort order you want?
I'm sorry, I can't quickly set up a test to check the effect of these options...
Re: Sorted by Date is lexical but not numeric now...
Ah yeah, it was set on numeric. I haven't touched this menu for a very long time so i missed it.
I tested all three of these sorting modes while still Sorted by Date (Modified) and the order of the numbers has not changed. Maybe it just does not work anymore?
It used to work. I would have noticed this a long time ago if it didn't...
I tested all three of these sorting modes while still Sorted by Date (Modified) and the order of the numbers has not changed. Maybe it just does not work anymore?
It used to work. I would have noticed this a long time ago if it didn't...
Re: Sorted by Date is lexical but not numeric now...
Thanks to your detailed description I can reproduce the problem.
Pierre.
Re: Sorted by Date is lexical but not numeric now...
This problem is supposed to be fixed in XnView MP 0.99.0. Please check and confirm the bug fix here.
Pierre.
Re: Sorted by Date is lexical but not numeric now...
Awesome job, now it works like it used to be. Thank you!xnview wrote: ↑Thu Sep 16, 2021 12:25 pm This problem is supposed to be fixed in XnView MP 0.99.0. Please check and confirm the bug fix here.