1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

tps800
Posts: 18
Joined: Fri Feb 05, 2016 1:30 pm

1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken

Post by tps800 »

Subject: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" does not sort by date taken

XnView: MP 1.10.3 64-bit Libformat 7.232
OS: Windows / Linux 64bit

Sorting by "EXIF:Date taken" does not sort by date taken.

Effect: Pictures are sorted by anything, but not date taken and are not chronologically in most cases.

To reproduce:
1. Have some pictures with different dates within "Create date", "Changed date", "EXIF: Create date", "EXIF: Changed date", "EXIF:Digitized date"
2. Switch sorting these pictures by selecting "View – 'Sort by …'

Actual behaviour (bug): Pictures with "EXIF: Create date" say "2026-03-08 9:54:00" are sorted after pictures with "EXIF: Create date" "2026-03-08 12:25:00" if "Sort by EXIF: Create date, ascending" is selected.

Expected behaviour: Pictures are sorted by "EXIF: Create date" ascending or descending as selected.
You do not have the required permissions to view the files attached to this post.
tps800
Posts: 18
Joined: Fri Feb 05, 2016 1:30 pm

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken.

Post by tps800 »

With the old version 1.9.10 it worked as expected.
User avatar
xnview
Author of XnView
Posts: 47521
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken.

Post by xnview »

I can't reproduce, could you post a screenshot in detail mode (to show EXIF Date column)?
Pierre.
jkm
Posts: 402
Joined: Sat May 11, 2024 12:43 am

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken.

Post by jkm »

1.10.4 is out and should be used for further exploration of this issue on Linux.

On Windows, sort by exif:datetaken works correctly in 1.10.4.
tps800
Posts: 18
Joined: Fri Feb 05, 2016 1:30 pm

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken

Post by tps800 »

Using 1.10.4 now. Same as with 1.10.3:

Pictures are sorted using "EXIF:Date Taken, ascending, Name numeric":
- 20907_20260308_122528_632750250_original.JPG
- 20907_20260308_122528_632750269_original.JPG
- 20907_20260308_122530_632750293_original.JPG
- 20907_20260308_122531_632750318_original.JPG
- 20907_20260308_122531_632750340_original.JPG
- 20907_20260308_122531_632750365_original.JPG
- 20907_20260308_122532_632750404_original.JPG
- 20907_20260308_122532_632750430_original.JPG
- 20907_20260308_095441_632786273_original.JPG
- 20907_20260308_095442_632786292_original.JPG
- 20907_20260308_095442_632786311_original.JPG
- 20907_20260308_100911_632831357_original.JPG
- 20907_20260308_100911_632831376_original.JPG
- 20907_20260308_104154_632619555_original.JPG
- 20907_20260308_104157_632619572_original.JPG
- 20907_20260308_112723_632950392_original.JPG
- 20907_20260308_112723_632950511_original.JPG
- 20907_20260308_112723_632950585_original.JPG
- 20907_20260308_112724_632950605_original.JPG
- 20907_20260308_112724_632950626_original.JPG
- 20907_20260308_112755_632984026_original.JPG
- 20907_20260308_112756_632984038_original.JPG
- 20907_20260308_112756_632984048_original.JPG
- 20907_20260308_112757_632984064_original.JPG
- 20907_20260308_112757_632984074_original.JPG
- 20907_20260308_112758_632984088_original.JPG
- 20907_20260308_112818_632975121_original.JPG
- 20907_20260308_112818_632975135_original.JPG
- 20907_20260308_112819_632975147_original.JPG
- 20907_20260308_112819_632975160_original.JPG
- 20907_20260308_113406_632627641_original.JPG
- 20907_20260308_113407_632627665_original.JPG
- 20907_20260308_113408_632627689_original.JPG
- 20907_20260308_113409_632627713_original.JPG
- 20907_20260308_115257_632650634_original.JPG
- 20907_20260308_115259_632650660_original.JPG
- 20907_20260308_115334_632642029_original.JPG
- 20907_20260308_115334_632642052_original.JPG
- 20907_20260308_115335_632642076_original.JPG
- 20907_20260308_115337_632642099_original.JPG
- 20907_20260308_115337_632642118_original.JPG
- 20907_20260308_120624_632654016_original.JPG
- 20907_20260308_120626_632654188_original.JPG
- 20907_20260308_120712_632659833_original.JPG
- 20907_20260308_120712_632683092_original.JPG
- 20907_20260308_120713_632683128_original.JPG
- 20907_20260308_120714_632673826_original.JPG
- 20907_20260308_120718_632673849_original.JPG
- 20907_20260308_120718_632683176_original.JPG
- 20907_20260308_121749_632701062_original.JPG
- 20907_20260308_121752_632701100_original.JPG
- 20907_20260308_122130_632717858_original.JPG
- 20907_20260308_122131_632717879_original.JPG
- 20907_20260308_122446_632725244_original.JPG
- 20907_20260308_122448_632725271_original.JPG
- 20907_20260308_122642_632770062_original.JPG
- 20907_20260308_122645_632770070_original.JPG

But they are supposed to be sorted this way:
- 20907_20260308_095441_632786273_original.JPG
- 20907_20260308_095442_632786292_original.JPG
- 20907_20260308_095442_632786311_original.JPG
- 20907_20260308_100911_632831357_original.JPG
- 20907_20260308_100911_632831376_original.JPG
- 20907_20260308_104154_632619555_original.JPG
- 20907_20260308_104157_632619572_original.JPG
- 20907_20260308_112723_632950392_original.JPG
- 20907_20260308_112723_632950511_original.JPG
- 20907_20260308_112723_632950585_original.JPG
- 20907_20260308_112724_632950605_original.JPG
- 20907_20260308_112724_632950626_original.JPG
- 20907_20260308_112755_632984026_original.JPG
- 20907_20260308_112756_632984038_original.JPG
- 20907_20260308_112756_632984048_original.JPG
- 20907_20260308_112757_632984064_original.JPG
- 20907_20260308_112757_632984074_original.JPG
- 20907_20260308_112758_632984088_original.JPG
- 20907_20260308_112818_632975121_original.JPG
- 20907_20260308_112818_632975135_original.JPG
- 20907_20260308_112819_632975147_original.JPG
- 20907_20260308_112819_632975160_original.JPG
- 20907_20260308_113406_632627641_original.JPG
- 20907_20260308_113407_632627665_original.JPG
- 20907_20260308_113408_632627689_original.JPG
- 20907_20260308_113409_632627713_original.JPG
- 20907_20260308_115257_632650634_original.JPG
- 20907_20260308_115259_632650660_original.JPG
- 20907_20260308_115334_632642029_original.JPG
- 20907_20260308_115334_632642052_original.JPG
- 20907_20260308_115335_632642076_original.JPG
- 20907_20260308_115337_632642099_original.JPG
- 20907_20260308_115337_632642118_original.JPG
- 20907_20260308_120624_632654016_original.JPG
- 20907_20260308_120626_632654188_original.JPG
- 20907_20260308_120712_632659833_original.JPG
- 20907_20260308_120712_632683092_original.JPG
- 20907_20260308_120713_632683128_original.JPG
- 20907_20260308_120714_632673826_original.JPG
- 20907_20260308_120718_632673849_original.JPG
- 20907_20260308_120718_632683176_original.JPG
- 20907_20260308_121749_632701062_original.JPG
- 20907_20260308_121752_632701100_original.JPG
- 20907_20260308_122130_632717858_original.JPG
- 20907_20260308_122131_632717879_original.JPG
- 20907_20260308_122446_632725244_original.JPG
- 20907_20260308_122448_632725271_original.JPG
- 20907_20260308_122528_632750250_original.JPG
- 20907_20260308_122528_632750269_original.JPG
- 20907_20260308_122530_632750293_original.JPG
- 20907_20260308_122531_632750318_original.JPG
- 20907_20260308_122531_632750340_original.JPG
- 20907_20260308_122531_632750365_original.JPG
- 20907_20260308_122532_632750404_original.JPG
- 20907_20260308_122532_632750430_original.JPG
- 20907_20260308_122642_632770062_original.JPG
- 20907_20260308_122645_632770070_original.JPG

I have attached exiftools output iterating over these pictures.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47521
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken

Post by xnview »

please send me you xnview.ini, and sample files to reproduce?
by screenshot, i means in detail view
Pierre.
tps800
Posts: 18
Joined: Fri Feb 05, 2016 1:30 pm

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken.

Post by tps800 »

xnview wrote: Thu Mar 12, 2026 1:39 pm I can't reproduce, could you post a screenshot in detail mode (to show EXIF Date column)?
In file-manager-mode display is set to use:
{Filename (with extension)}
{IPTC:Headline}
{IPTC:Caption}
{EXIF:Date Taken [Y-m-d H:M:S]}
{Width}x{Height} • {Size} • {Format}
{EXIF:Focal Length}mm • {EXIF:Exposure Time}s • {EXIF:F-Number} • {EXIF:ISO Value}iso • {EXIF:Exposure Program} • {EXIF:Light Source}
{EXIF:Make} • {EXIF:Model}
User avatar
xnview
Author of XnView
Posts: 47521
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken.

Post by xnview »

tps800 wrote: Fri Mar 13, 2026 4:02 pm In file-manager-mode display is set to use:
please send me you xnview.ini, and sample files to reproduce?
Pierre.
tps800
Posts: 18
Joined: Fri Feb 05, 2016 1:30 pm

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken

Post by tps800 »

xnview wrote: Fri Mar 13, 2026 3:48 pm please send me you xnview.ini, and sample files to reproduce?
by screenshot, i means in detail view
Attached
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47521
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken

Post by xnview »

Thanks, with your .ini and your files, it seems correct
Clipboard-2.jpg
You have not that?
'Exif Date Taken' are in ascending order...
I don't understand your screenshot, in ascending order you have 2023-2026
You do not have the required permissions to view the files attached to this post.
Pierre.
User avatar
xnview
Author of XnView
Posts: 47521
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken

Post by xnview »

tps800 wrote: Fri Mar 13, 2026 4:10 pm
xnview wrote: Fri Mar 13, 2026 3:48 pm please send me you xnview.ini, and sample files to reproduce?
by screenshot, i means in detail view
I've tried on linux, with 1.9.10 and the files are correctly sorted like your screenshot #3 (How pictures are sorted)
Pictures are sorted using "EXIF:Date Taken, ascending, Name numeric":
- 20907_20260308_122528_632750250_original.JPG
- 20907_20260308_122528_632750269_original.JPG
- 20907_20260308_095441_632786273_original.JPG
- 20907_20260308_095442_632786292_original.JPG

But they are supposed to be sorted this way:
- 20907_20260308_095441_632786273_original.JPG
- 20907_20260308_095442_632786292_original.JPG
- 20907_20260308_122528_632750250_original.JPG
- 20907_20260308_122528_632750269_original.JPG
Why?

20907_20260308_122528_632750250_original.JPG => 08/03/2023
20907_20260308_095441_632786273_original.JPG => 08/03/2026
Pierre.
jkm
Posts: 402
Joined: Sat May 11, 2024 12:43 am

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken

Post by jkm »

tps800,

It looks to me like the images sort correctly. But the data you are giving us is not the best. The images you have uploaded are not originals, and show evidence that something has altered the exif, because Date Taken != Date Digitized. Since these are NOT the exact same images you are reporting the bug about, they are not suitable. If there’s supposedly something wrong with how the app is handling exif Date Taken, we need to see real data.

Please post links to four (that's enough to do the job) original unmodified jpegs with intact exif that prove the problem.

Pierre was also asking for you to post a screenshot of these images being mis-sorted in Details View. (View->View As->Details).
Details view will make things much more obvious.
User avatar
user0
XnThusiast
Posts: 2843
Joined: Sat May 09, 2015 9:37 am

Re: 1.10.3 64-bit Libformat 7.232: Sorting by "EXIF:Date taken" doe not sort by date taken

Post by user0 »

I see no issue so far
tps800 wrote: Thu Mar 12, 2026 11:41 am Sorting by "EXIF:Date taken" does not sort by date taken
change view to 'Details' and double-check dates in all date related columns