In Windows 11, File Explorer generally sorts files and folders by name in ascending order (A to Z) when you open a folder in Details view, unless that folder uses a different view or saved arrangement. The exact default can vary by folder type and by whether Windows has remembered a view you previously chose, so there is not one unchanging sort order for every folder.
What “default sort order” means
Sorting determines the sequence of items within a folder; it is separate from the folder’s display layout. For example, a folder can show items as icons or as a list while still sorting them by name. In Details view, the active sort column is usually apparent from the column heading and its direction indicator.
When sorting by name in ascending order, names are arranged alphabetically, with folders typically grouped before files in common File Explorer views. This is not the same as sorting by date modified, file type, or size. Windows may also apply a folder template—for example, Pictures or Music—which can influence the columns and layout offered, and sometimes the view behavior you see.
How to check the current sort order
Open the folder in question and look for the active sort setting. In Details view, select View > Details if needed, then inspect the column headings. The column with the sort indicator is the one currently controlling the order. In other layouts, open the command bar’s Sort menu to see the selected field and direction.
- Name: orders items by their names.
- Date modified: orders by the last recorded modification time.
- Type: groups items according to file type or extension.
- Size: orders files by their reported size.
Clicking a sort field generally switches between ascending and descending order. The direction matters: ascending name order runs from A to Z, while descending runs from Z to A. Dates and sizes similarly reverse when you change direction.
How to change the order for one folder
To choose a different order, open the folder, select Sort on the command bar, choose a field such as Date modified or Name, and select ascending or descending if that option is shown. In Details view, clicking the relevant column heading is another quick way to sort; clicking it again reverses the order.
For example, sorting a Downloads folder by Date modified in descending order puts recently changed or downloaded items near the top. Sorting a photo folder by Date taken can be useful when the files contain that metadata, but not every image has a usable date-taken value. If that field is unavailable or unhelpful, Date modified is a practical alternative, though it reflects file changes rather than necessarily when a photo was captured.
A change may apply only to the current folder or to folders using the same view settings. Windows can remember folder views, but behavior can differ across folder types and locations. If you want a consistent arrangement, check the folder’s view settings rather than assuming a sort choice will affect every directory.
Make a view apply to similar folders
Windows offers a way to apply a folder’s view to other folders of the same general type. In File Explorer, open View > Options (or See more > Options, depending on the interface), then open the View tab. The Apply to Folders button can copy the current folder view settings to similar folders. Its effect is not a universal rule for all folder types, and it is intended for view preferences rather than a guarantee that every folder will behave identically.
If a folder keeps reverting, first confirm that you changed the sort order in that folder and that the folder is not being displayed through a special library or another location. Then try setting the desired view again. Windows may preserve separate settings for different folder templates, such as general items, documents, pictures, music, or videos.
Why folders and files may appear grouped
A frequent point of confusion is the difference between sorting and grouping. Sorting orders items according to a field. Grouping divides them into labeled sections, such as date ranges, with sorting still operating within or between those groups. If items appear under headings such as “Earlier this week” or “Last month,” check Sort and Group by separately. Choose Group by > None to remove grouping where that option is available.
Another misconception is that folders always behave exactly like files in every sort. File Explorer can place folders together ahead of files in common views, even when the selected field is Name. Also, names that include numbers may not look like simple letter-by-letter dictionary order: Windows uses natural sorting behavior in many cases, so names such as “File 2” and “File 10” can appear in the intuitive numeric sequence. The result can depend on the actual names and view, so inspect the active sort field rather than judging by one pair of entries.
When the order looks wrong
If a folder appears out of order, work through these checks:
- Confirm the active sort field and whether it is ascending or descending.
- Check whether Group by is turned on.
- Switch to Details view temporarily to make the sort column and direction easier to identify.
- Remember that Date modified reflects file metadata and can change when a file is edited or copied; it is not always the date you expect.
- Check whether the folder is a special location, such as a library, cloud-synced folder, or media folder, whose view may differ from an ordinary local folder.
Sorting does not rename, move, or delete files; it changes only their on-screen order. If an item seems missing, clear any grouping and review the sort direction before assuming that it has been removed.
Frequently Asked Questions
Is File Explorer sorted A to Z by default?
Usually, Name in ascending order is the familiar default in a standard folder view. However, Windows can retain folder-specific settings, and special folder types may show a different layout or order.
How do I sort newest files first?
Choose Sort > Date modified and set the direction to descending. The most recently modified items should appear first; this does not necessarily mean they were created or downloaded most recently.
Can I make every folder use the same sort order?
You can use Apply to Folders to copy a view to folders of a similar type. Windows maintains different folder types and may not apply one setting to every location.
Why are folders shown before files?
File Explorer commonly keeps folders together ahead of files in a folder view. That display behavior can coexist with sorting by Name or another field; it does not mean the sort setting is off.
Why does File Explorer keep changing the order?
The folder may have its own saved view, use a different folder template, or be grouped as well as sorted. Check the active sort field, direction, and grouping setting in the specific folder.