How to Manually Control Folder Order in a SharePoint Library
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.

- 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.
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.
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.
In a browser, go to the SharePoint site and open the document library where you want to control the folder order.
Select + Add column, choose Number or another numeric type, enter a name such as FolderOrder or ID, and save the column.
For each folder, edit the folder properties and enter the desired numeric order value in the new column.
Open the view menu, select Edit current view, and set the custom column as the primary sort field in ascending order.
Click OK or Save to apply the sorted library view.

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.

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.




