SharePoint Document Issues

How to Manually Control Folder Order in a SharePoint Library

Chanuka GeekiyanageChanuka Geekiyanage Nov 13, 2026 868 views

Question details

The user needs to manually control the display order of folders in a SharePoint document library instead of relying on the default alphabetical or numerical sorting.

How to Manually Control Folder Order in a SharePoint Library
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Managing a SharePoint document library and needing a specific folder order that cannot be achieved through the default sorting or drag-and-drop.
Observed behavior
SharePoint document libraries normally sort folders alphabetically or numerically and do not provide a built-in drag-and-drop ordering feature.
Before you start

Open the SharePoint document library in a browser and confirm that you have permission to add columns or edit the current view. Decide the desired numeric order values for the folders before creating the custom column.

Solution 1Recommended

Add a Number or ID column and sort the SharePoint library view

Use this workaround when you need a stable manual folder order without changing folder names or relying on alphabetical sorting.

SharePoint does not include drag-and-drop folder ordering, but a custom numeric column gives you practical control over the library order. The order values can be updated whenever folders are added or rearranged.

1
Open the SharePoint library

In a browser, go to the SharePoint site and open the document library where you want to control the folder order.

2
Add a custom Number or ID column

Select + Add column, choose Number or another numeric type, enter a name such as FolderOrder or ID, and save the column.

3
Enter order values for each folder

For each folder, edit the folder properties and enter the desired numeric order value in the new column.

4
Edit the current view

Open the view menu, select Edit current view, and set the custom column as the primary sort field in ascending order.

5
Save the view

Click OK or Save to apply the sorted library view.

Add a Number or ID column and sort the SharePoint library view
Order applied successfully: The library now sorts folders according to the numeric values in the custom column instead of alphabetical folder names.
Free Microsoft Office alternative

Use WPS Office as a Free, Lightweight Alternative for SharePoint Document Files

While WPS Office does not change SharePoint library folder ordering, it provides a free and lightweight Office suite for Word, Excel, and PowerPoint files with full Microsoft Office format compatibility, a familiar interface, and smooth document migration.

Free lightweight Office suite that opens, edits, and saves .docx, .xlsx, and .pptx files from SharePoint.Full Microsoft Office format compatibility for seamless document exchange.Familiar ribbon-style interface reduces the learning curve when switching from Microsoft Office.Works alongside SharePoint workflows for editing downloaded documents locally without Microsoft 365.
microsoft office alternative - wps office

Frequently Asked Questions

Can I drag and drop folders to reorder them in SharePoint?

No, SharePoint document libraries do not have a built-in drag-and-drop folder ordering feature. Use a custom Number or ID column and sort the library view by that column.

How do I add a column for folder order in SharePoint?

Open the SharePoint library, select + Add column, choose Number or another numeric type, name it something like FolderOrder, and save it.

How do I sort a SharePoint library by a custom column?

Open the view menu, select Edit current view, and set the custom order column as the primary sort field. Then save the view.

Will changing the view order affect other users?

If you edit a shared public view or create a new public view, other users will see the sorted order. Personal views only affect you.

Does WPS Office change SharePoint folder ordering?

No, WPS Office does not control SharePoint library folder ordering. Use the SharePoint library view settings and a custom sort column to control folder order.