[MS-Win] Files not displayed in Expected [Set] Order

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

Moderators: xnview, Dreamer

PolJS
Posts: 3
Joined: Mon Aug 25, 2025 9:22 pm
Location: Greece

[MS-Win] Files not displayed in Expected [Set] Order

Post by PolJS »

[ I believe this is unrelated to:
v1.10 series: Files not displayed in expected order [Solved]
by janus777, We 2026/04/08
viewtopic.php?t=50575 ]

MS-Win 10.0.19045.6456 64bit

I have a folder where I keep camera sample photos [various cameras].

dir shows:

Code: Select all

a7R-V-Y-JG-0072.ARW
a7R-V-Y-JG-0072.JPG
a7V-6364402986.arw
a7V-6364402986.jpg
D500-9352170017.JPG
D500-9352170017.NEF
D5500-Y-A-KIT_0901.JPG
D5500-Y-A-KIT_0901.NEF
D5600-1992586558.JPG
D5600-1992586558.NEF
D700-9248166115.jpg
D750-0266974751.jpg
D7500-6479295152.JPG
D7500-6479295152.NEF
D780-7406705323.JPG
D780-7406705323.NEF
OM-1-Y-JG-040069.JPG
OM-1-Y-JG-040069.ORF
R3-1621932833.CR3
R3-1621932833.JPG
R6II-Y-WB-5O1A0486.CR3
R6II-Y-WB-5O1A0486.JPG
SL2S-1457006077.JPG
SL2S-4770240415.DNG
Z6II-6924198633.JPG
Z6II-6924198633.NEF
Z8-1658994793.JPG
Z8-1658994793.NEF
I have browser sorting [double green arrow button] as “Type | Ascending | Name - numeric order”.

XnViewMP 1.10.5 [also previous versions] shows:

Code: Select all

R3-1621932833.CR3
R6II-Y-WB-5O1A0486.CR3
a7R-V-Y-JG-0072.JPG
a7V-6364402986.jpg
D750-0266974751.jpg
D780-7406705323.JPG
D500-9352170017.JPG
D5500-Y-A-KIT_0901.JPG
D5600-1992586558.JPG
D7500-6479295152.JPG
OM-1-Y-JG-040069.JPG
R3-1621932833.JPG
R6II-Y-WB-5O1A0486.JPG
SL2S-1457006077.JPG
Z6II-6924198633.JPG
Z8-1658994793.JPG
D700-9248166115.jpg
SL2S-4770240415.DNG
D500-9352170017.NEF
D780-7406705323.NEF
D5500-Y-A-KIT_0901.NEF
D5600-1992586558.NEF
D7500-6479295152.NEF
Z6II-6924198633.NEF
Z8-1658994793.NEF
OM-1-Y-JG-040069.ORF
a7R-V-Y-JG-0072.ARW
a7V-6364402986.arw
Expected: first JPEG’s, then Raw’s, alphabetically [just like XnView Classic did (does?)]:

Code: Select all

a7R-V-Y-JG-0072.JPG
a7V-6364402986.jpg
D500-9352170017.JPG
D5500-Y-A-KIT_0901.JPG
D5600-1992586558.JPG
D700-9248166115.jpg
D750-0266974751.jpg
D7500-6479295152.JPG
D780-7406705323.JPG
OM-1-Y-JG-040069.JPG
R3-1621932833.JPG
R6II-Y-WB-5O1A0486.JPG
SL2S-1457006077.JPG
Z6II-6924198633.JPG
Z8-1658994793.JPG
a7R-V-Y-JG-0072.ARW
a7V-6364402986.arw
D500-9352170017.NEF
D5500-Y-A-KIT_0901.NEF
D5600-1992586558.NEF
D7500-6479295152.NEF
D780-7406705323.NEF
OM-1-Y-JG-040069.ORF
R3-1621932833.CR3
R6II-Y-WB-5O1A0486.CR3
SL2S-4770240415.DNG
Z6II-6924198633.NEF
Z8-1658994793.NEF
Switching among:

Code: Select all

Name - numeric order
Name - normal order
Name - alphabetic order
does nothing.
jkm
Posts: 467
Joined: Sat May 11, 2024 12:43 am

Re: [MS-Win] Files not displayed in Expected [Set] Order

Post by jkm »

Hi PolJS,

I'll try to clarify what's going on for you.

First, you're correct, this has nothing to do with that other thread. And thanks for trying to search the forum before posting.

This is not a bug (you posted in the bug report board), it's just a misunderstanding of how the app works.

In XnViewMP, JPEGs do not have some special significance where they always come first. They are an image file type just like any other, and when you sort by Type, the "types of type" are sorted alphabetically. And your raw files don't have a generic type of "RAW", they have their own individual types.

And it's not that switching among the different name sort options does nothing; they work fine. But your primary sort is by type, so that supersedes the Name sorting options.

So the app is behaving properly and according to expectations, just not your expectations. :wink:

But I'll give you a tip: If you view the sort/column header, it can show you what's going on. If you switch to Details view you'll see it (or you can enable it in any other browser mode with View->Sort By and clicking the "Show Header" box at the bottom of the menu.). If you right-click on the header, you can "Customize Columns" and use this to enable the "Type" column, which will actually show you the file types in Details view.

If you look at the names of the types, that will reveal why they are sorted in the way they are. In your example, you see .CR3 files first because the "Type" for those is "CANON" (not "RAW") and Canon comes before JPEG alphabetically. An .ARW file is of type "SONY" so alphabetically it's after JPEG.

You can reverse the sort on the Type field, if that suits you better. You can also show only the .JPG files by typing jpg in the QuickFilter field, if you have that on your toolbar.

Hopefully this helps...
User avatar
user0
XnThusiast
Posts: 2872
Joined: Sat May 09, 2015 9:37 am

Re: [MS-Win] Files not displayed in Expected [Set] Order

Post by user0 »

use Extension instead of Type
User avatar
xnview
Author of XnView
Posts: 47616
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: [MS-Win] Files not displayed in Expected [Set] Order

Post by xnview »

PolJS wrote: Sat Apr 18, 2026 7:01 pm Expected: first JPEG’s, then Raw’s, alphabetically [just like XnView Classic did (does?)]:
Which sorting method do you use with Classic?
Pierre.