logo
search
SharePoint Document Issues

Can You Sort or Group SharePoint Folders by Color?

Steve KSteve K Oct 8, 2026 870 views

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.

Can SharePoint Folders Be Sorted or Grouped by Color?
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.
Before you start

Verify that you have adequate permissions to modify document library views in your SharePoint environment.

Solution 1Recommended

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.

1
Add a Choice column

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').

2
Define your categories

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.

3
Apply tags to folders

Select a folder, open the details pane (the 'i' icon), and assign the appropriate category from your newly created Choice column.

4
Group by the new 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.

Use Custom Columns as an Alternative Organization Method
Save your view: Don't forget to click 'Save view as' from the view dropdown menu so that your new grouping remains the default for you and your team.
Free Microsoft Office alternative

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. 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the software: Run the installer and follow the on-screen prompts to set up WPS Office on your computer.
  3. 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.
Completely free and lightweight Office suiteFully compatible with Microsoft Word, Excel, and PowerPoint formatsBuilt-in cloud storage for seamless file organization and backupIntuitive tabbed interface to manage multiple documents in one window
microsoft office alternative - wps office

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.