logo
search
OneDrive File Issues

How to Sort OneDrive Folders Alphabetically and Files by Date Modified

Bushra ParveenBushra Parveen Oct 19, 2026 869 views

Question details

The user wants to apply different sorting rules for folders (alphabetical) and files (date modified) simultaneously within the same OneDrive view.

How to Keep OneDrive Folders Alphabetical and Files by Date Modified
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Organizing and viewing files and folders in OneDrive for Business.
Observed behavior
Selecting the 'Date modified' sorting option applies to both files and folders, preventing folders from remaining in alphabetical order.
Before you start

Log in to your OneDrive account via a web browser to check your current file view and verify your active sorting preferences.

Solution 1Recommended

Use Organizational Workarounds for OneDrive Sorting

Since OneDrive does not support mixed sorting options, you can use these organizational strategies to keep your workspace structured.

In OneDrive for Business, the sorting option you select is globally applied to all folders, subfolders, and files in that view. It is currently impossible to isolate sorting methods by item type.

1
Separate files from folders

Create specific root folders for different file types so you can apply a unified sorting method without mixing folders and individual files in the same directory.

2
Prefix folder names

Add numbers or special characters (e.g., '01_Documents' or '!Archive') to folder names. This forces important folders to the top when sorting alphabetically, minimizing the need to constantly switch to date sorting.

3
Apply a unified sorting rule

Click the 'Sort' menu at the top right of the OneDrive web interface and choose either 'Name' or 'Modified' based on which metric is most important for your current workflow.

Sorting limitations: Keep in mind that changing the view to 'Date modified' will always reorganize your folders based on the date their contents were last updated.
Free Microsoft Office alternative

Try WPS Office for Powerful File Management and Document Editing

While OneDrive has specific folder sorting limitations, switching to WPS Office provides a lightweight, highly compatible alternative for handling your daily document tasks. With built-in cloud storage and intuitive file management, organizing your work becomes completely seamless.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installer for your operating system.
  2. 2. Install and Launch: Follow the on-screen instructions to install the software, then open the WPS Office application.
  3. 3. Organize Your Documents: Sign in to access your built-in WPS Cloud storage and start managing your files with familiar, easy-to-use tools.
Seamlessly save and organize files with built-in WPS Cloud storage.Highly compatible with Microsoft Word, Excel, and PowerPoint formats.Free, lightweight, and easy to install on multiple devices.Familiar user interface requiring no learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Can I set default sorting views for individual folders in OneDrive?

No. In OneDrive for Business via a web browser, the sorting option you apply affects all folders, subfolders, and files globally in that view.

Why do my folders move when I sort by Date Modified?

OneDrive treats both folders and files as unified items when sorting. If you sort by Date Modified, folders will also be arranged by the date their contents were last changed.

Is this sorting limitation present in Windows File Explorer?

In Windows File Explorer, folders generally stay grouped together at the top of the list, but they will still be sorted among themselves by the chosen parameter (like Date Modified) alongside the files.

How can I force a folder to always stay at the top in OneDrive?

You can rename the folder and add a special character (like an underscore) or a number at the beginning of its name, then sort your view by Name.