Can You Sort or Group SharePoint Folders by Color?
Question details
The user is looking for a way to sort, filter, or group folders in a SharePoint document library based on their assigned colors.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Organizing and visually managing files and folders within a SharePoint document library.
- Observed behavior
- SharePoint document libraries allow users to assign colors to folders, but they do not provide a built-in option to sort or group those folders by their colors.
Verify that you have adequate permissions to modify document library views in your SharePoint environment.
Use Custom Columns as an Alternative Organization Method
Since SharePoint does not support grouping by folder color natively, creating a custom choice column is the best workaround to organize and group your folders.
While folder coloring is a helpful visual cue, SharePoint Online does not currently read these colors as metadata that can be sorted or grouped. To achieve a similar organizational structure, you can add a custom 'Choice' column to your document library.
In your SharePoint document library, click on 'Add column' at the end of the header row and select 'Choice'. Name it according to your organizational needs (e.g., 'Category' or 'Status').
Enter the choices that correspond to the meaning behind your folder colors (for example, 'Urgent', 'In Progress', 'Completed'). You can even assign colors to these choice pills.
Select a folder, open the details pane (the 'i' icon), and assign the appropriate category from your newly created Choice column.
Click the column header for your new Choice column, select 'Group by [Column Name]', and save the view to keep your folders organized systematically.

Submit a Feature Request to Microsoft
Support the ongoing community request to have color sorting added as an out-of-the-box feature in SharePoint.
Enhance Your Document Workflow with WPS Office
While SharePoint has specific limitations regarding folder color sorting in the cloud, you can streamline your local document management and creation by switching to WPS Office. It provides a highly compatible, fast, and user-friendly interface for all your document needs.
- 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the software: Run the installer and follow the on-screen prompts to set up WPS Office on your computer.
- 3. Open and organize documents: Launch WPS Office to easily create, edit, and organize your files using its built-in file manager and cloud synchronization.

Frequently Asked Questions
How do I change the color of a folder in SharePoint?
To change a folder's color in SharePoint Online, right-click the desired folder, select 'Folder color' from the context menu, and choose your preferred color from the provided palette. Alternatively, select the folder, click the three-dot menu (Show actions), and click 'Folder color'.
Can I sort files by color in Microsoft OneDrive?
Similar to SharePoint, Microsoft OneDrive allows you to customize folder colors for visual organization, but it currently lacks the native functionality to sort, filter, or group files and folders exclusively based on those colors.
Will Microsoft add color sorting to SharePoint in the future?
Microsoft frequently updates SharePoint and Microsoft 365 features based on user telemetry and feedback. Upvoting the feature on the official Feedback Portal significantly increases the likelihood of it being implemented in future rollouts.
What is the best way to group folders if I cannot use colors?
The most effective workaround is to create custom metadata columns (such as Choice or Text columns), tag your folders appropriately, and use the 'Group by' feature on that specific column to organize your library view.




