Others

How to Sort Files by Name and Date in Windows File Explorer

Natalie TaylorNatalie Taylor Oct 28, 2026 868 views

Question details

The user wants to sort files primarily by name in alphabetical order, and secondarily by date in descending order (newest first).

How to Sort Files by Name and Date in Windows File Explorer
Product
Windows File Explorer
Device & OS
Windows
Scenario
Organizing files to easily locate the most recent versions of documents that share similar alphabetical naming conventions.
Observed behavior
Clicking a column header only sorts by one metric at a time, removing the previous sorting rule, making it difficult to achieve simultaneous alphabetical and date-descending organization.
Before you start

Ensure your File Explorer or Open/Save dialog is set to the 'Details' view so that both the Name and Date column headers are clearly visible.

Solution 1Recommended

Use the Shift Key for Multi-Column Sorting

Windows File Explorer supports multi-column sorting by using the Shift key, allowing you to prioritize the Name column first and the Date column second.

By default, clicking a column header resets the sort order to that specific column. To layer multiple sorting rules, you must use a keyboard shortcut while clicking.

1
Change to Details View

Open File Explorer and navigate to your target folder. Go to the 'View' tab at the top and select 'Details'.

2
Sort by Name First

Click the 'Name' column header once so the arrow points upward, ensuring the files are sorted alphabetically from A to Z.

3
Apply Secondary Date Sort

Press and hold the 'Shift' key on your keyboard, then click the 'Date modified' column header. Keep holding 'Shift' and click it again if necessary until the arrow points downward (newest files first).

Use the Shift Key for Multi-Column Sorting
Sorting Applied: Your files are now grouped alphabetically, and files with the exact same name or prefix are sorted with the newest ones at the top.
Free Microsoft Office alternative

Easily Manage and Open Your Documents with WPS Office

If you are struggling with complex file sorting in traditional Office Open and Save dialogs, try WPS Office. It provides a highly intuitive, tabbed interface and built-in document management to help you locate your most recent files effortlessly.

Built-in recent documents list to instantly find your newest files without complex sorting.Fully compatible with Microsoft Office formats, including DOCX, XLSX, and PPTX.Tabbed viewing interface to manage multiple documents in a single, clean window.Lightweight software that runs smoothly on all Windows versions.
QA img-9

Frequently Asked Questions

Can I save this custom sort view for other folders in Windows?

Yes. Once you have set up your multi-column sorting in File Explorer, click the three dots (or 'Options' in older versions) at the top, go to the 'View' tab, and click 'Apply to Folders'. This will apply your sorting preferences to all folders optimized for the same template.

Why does my sorting reset when I close the Word Open or Save As dialog?

Application-specific dialog boxes often revert to default sorting (like alphabetical by Name) each time they are launched. To find files quickly without re-sorting, utilize the 'Recent' documents section within your Office application.

How do I sort files by creation date instead of modified date?

Right-click on any existing column header (like 'Name' or 'Size') in File Explorer, click 'More...', and check the box next to 'Date created'. A new column will appear, allowing you to sort files by the exact date they were originally generated.