How To Keep Folder Show Top Always Before Files When Sort By Date In Windows 8

One of the new changes I noticed with my Windows 8.1’s Windows Explorer is that when I sort folders (directories) by modified date the files appears before the folders. This wasn’t the behavior it was back in Windows 7, the folders always appear on top of the files, at least it wasn’t what I was remembering. I poked around see if there are new options in Windows 8.1 that might lead to this subtle change. Here is a solution I found for a work around with this problem.

Use Date Instead of Date Modified Attribute For Directory Column Type


Notice when you view a directory in Windows 8.1 in a detailed view, you will get the option to sort the folder by “Date modified”. When you do use this attribute to sort the folders, all the files appear before the folders. If you’d like to keep the folders show before the files, don’t use “Date modified” attribute, but instead use “Date” attribute. Here is how.


Go to View tab > Sort by > Choose columns …


Scroll down to the list, find the “Date” type, select and click OK.


Now go to “Group by > Choose columns …”


Uncheck “Date modified”, check “Date”


Now go back to the Windows Explorer, click sort “Date” column. Notice, you now see all the folders appear before the files in a directory.

The catch is, if you do it this way as above, the change only appear to be applied to the directory you are in. There are other directories and folders out there still have the previous unchanged view properties. But hey, at least this is a workaround, let us know if you have a better way to resolve this issue.

Jonathan Hu

Programming by day, Web Development, Canucks & Movies for spare time!
Co-founder of Next of Windows and a cool geek 🙂

Last updated: 08/04/2014

Posted in: How to , Windows 8
Discover more: ,

Leave a Reply

Notify of

I found this other solution:
– Click on Date Modified (folders will be on bottom)
– Then Shift + click on Name. It will fix the sort to put folders first

Then you can click on the View > Options to bring up the Folder Options dialog. On the View tab, you can click ‘Apply to Folders’ to have your view apply everywhere.

Kent Chen

That’s really clever. Thanks for sharing.


Simple and Neat!

John Biskner

Agreed with the other commentors… this Shift-click solution is more neat and clean. I really like the reminder to use “Apply to Folders” to apply everywhere.


I can’t do it. Can someone give me a more detailed explanation. I’m trying to do it on Windows 10, x64. First, I choose Sort by > Date Modified (Descending). Then I choose Sort by > Name (while holding the shift button down).???

Kent Chen

Sort by Date column first, and then Shift + left-click the Name tab which will reorder the list to put the folders on top.


Another option: this problem only occured when I approach my folders via the drive (e.g., C: -> my documents). When I approach my folders via Libraries -> documents there is no problem with sorting on date and keeping folders on top.

Free eBook: Computer Security Handbook