Sorted by Date is lexical but not numeric now...

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
Litr
Posts: 66
Joined: Wed Oct 12, 2011 9:26 pm

Sorted by Date is lexical but not numeric now...

Post by Litr »

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. :bugfixed:

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
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sorted by Date is lexical but not numeric now...

Post by xnview »

'numeric order' is selected?
Pierre.
Litr
Posts: 66
Joined: Wed Oct 12, 2011 9:26 pm

Re: Sorted by Date is lexical but not numeric now...

Post by Litr »

xnview wrote: Tue Jun 01, 2021 9:21 am 'numeric order' is selected?
I am sorry, but I didn't understand this question. Did i missed an option in XnView MP?
cday
XnThusiast
Posts: 3973
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Sorted by Date is lexical but not numeric now...

Post by cday »

Litr wrote: Tue Jun 01, 2021 4:42 pm
xnview wrote: Tue Jun 01, 2021 9:21 am 'numeric order' is selected?
I am sorry, but I didn't understand this question. Did i missed an option in XnView MP?
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...
Litr
Posts: 66
Joined: Wed Oct 12, 2011 9:26 pm

Re: Sorted by Date is lexical but not numeric now...

Post by Litr »

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...
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sorted by Date is lexical but not numeric now...

Post by xnview »

your files have same date, right?
Pierre.
Litr
Posts: 66
Joined: Wed Oct 12, 2011 9:26 pm

Re: Sorted by Date is lexical but not numeric now...

Post by Litr »

xnview wrote: Wed Jun 02, 2021 7:45 am your files have same date, right?
Yes
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sorted by Date is lexical but not numeric now...

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sorted by Date is lexical but not numeric now...

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.99.0. Please check and confirm the bug fix here.
Pierre.
Litr
Posts: 66
Joined: Wed Oct 12, 2011 9:26 pm

Re: Sorted by Date is lexical but not numeric now...

Post by Litr »

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.
Awesome job, now it works like it used to be. Thank you! :D
Post Reply