How to force Win11 to sort files the way I want when opening directory?


Update: I just ran a test with a folder containing 7400 photos that all have the "Date taken" metadata. Sorting by "Date modified" or "Date created" is instantaneous. Sorting by "Date taken" takes about 4 seconds. Indexing the folder, unfortunately, made no difference.

Weird. With me that takes way over 5 seconds. Is a mix of jpg png webp.

I use this sort setting , , ,

2024-12-09.webp

After re reading your message I understand this is what you explained. DATE MODIFIED or DATE TAKEN are ok. Just DATE is having the issue. Bummer :-(
 

My Computer

System One

  • OS
    Windows 11 Home 64-bit
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Laptop Zenbook Pro 14
    CPU
    Intel Core i9-13900H 2.6 GHz, 24MB 14 cores 20 threads
    Memory
    32GB DDR5
    Graphics Card(s)
    NVIDIA GeForce RTX 4060 and Intel Iris Xe Graphics
    Monitor(s) Displays
    14.5" 2.8K OLED 16:10 120Hz 400nits
    Screen Resolution
    2880 x 1800 pixels
    Hard Drives
    1TB M.2 NVMe™ PCIe® 4.0 Performance SSD
    Mouse
    Bluetooth
    Browser
    Microsoft Edge
    Antivirus
    McAfee , Malwarebytes , Ccleaner
After re reading your message I understand this is what you explained. DATE MODIFIED or DATE TAKEN are ok. Just DATE is having the issue. Bummer :-(

Date modified and Date created should be very fast. Date taken should take just as long as Date.

That's why I suggested copying the Date taken metadata property to the Date created file system property. Then you can sort on Date created and get the same order you would get by sorting on Date taken (or Date) with no delay.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
Since a bunch of weeks I have been noticing the problem has disappeared.

Seems that the Win11 team fixed the bug. :-):crossed

Did anyone else notice ?
 

My Computer

System One

  • OS
    Windows 11 Home 64-bit
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Laptop Zenbook Pro 14
    CPU
    Intel Core i9-13900H 2.6 GHz, 24MB 14 cores 20 threads
    Memory
    32GB DDR5
    Graphics Card(s)
    NVIDIA GeForce RTX 4060 and Intel Iris Xe Graphics
    Monitor(s) Displays
    14.5" 2.8K OLED 16:10 120Hz 400nits
    Screen Resolution
    2880 x 1800 pixels
    Hard Drives
    1TB M.2 NVMe™ PCIe® 4.0 Performance SSD
    Mouse
    Bluetooth
    Browser
    Microsoft Edge
    Antivirus
    McAfee , Malwarebytes , Ccleaner
Since a bunch of weeks I have been noticing the problem has disappeared.

Seems that the Win11 team fixed the bug. :-):crossed

Did anyone else notice ?
Nope, but my test case of 7400 photos only took about 4 seconds to sort on Date taken, so I wouldn't expect it to get any better.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
Since a bunch of weeks I have been noticing the problem has disappeared.

Seems that the Win11 team fixed the bug. :-):crossed

Did anyone else notice ?

What I have noticed in File Explorer is that persistence and having to continuously correct File Explorer to display folders the way I have set them, eventually sticks. I couldn’t tell you why but this has always been my experience.

But if you want an instant, permanent fix, I suggest any advice from @LesFerch
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5039
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
What I have noticed in File Explorer is that persistence and having to continuously correct File Explorer to display folders the way I have set them, eventually sticks. I couldn’t tell you why but this has always been my experience.

But if you want an instant, permanent fix, I suggest any advice from @LesFerch
I think "the problem" @GeneralLee01 was referring to was the long wait for Explorer to sort his photos by Date taken, but I could be wrong.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
I think "the problem" @GeneralLee01 was referring to was the long wait for Explorer to sort his photos by Date taken, but I could be wrong.

Les you’re probably right. My comprehension level lately is shot.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5039
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
I do experience this issue. But my image folders contain hundreds of images in each folder with an average size between 12 and 25MB
So I just expect the lag. Then again my PC is about 10 years old.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5039
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Nope, but my test case of 7400 photos only took about 4 seconds to sort on Date taken, so I wouldn't expect it to get any better.
For background, everyone (OK, not including @LesFerch) should try to understand how Windows stores this information.

Normal folder or file timestamps are kept in the directory structure. It's very quick to access this, and sort the files.

Extended attributes, like Date Taken, are extracted from the source file and stored in a per-file data structure separate from the directory. If you have 7400 photos, then Explorer has to open 7400 individual files and check the extended attributes before returning back to you. This would be faster if the Explorer designers had decided to create a separate index cache where this data was collected in one place.

But it's not, so performance gets slower with the more files you have in a folder.
 

My Computer

System One

  • OS
    Windows 7
Back
Top Bottom