How to Renumber Task IDs After Sorting in Microsoft Project
Question details
The user wants to renumber Microsoft Project task IDs automatically after sorting tasks by start date or another field.

- Product
- Microsoft Project
- Device & OS
- not provided
- Scenario
- Sort a project task list and make its task IDs follow the new order.
- Observed behavior
- The desired result is a sorted task list with task IDs renumbered to match the new order.
Open the project and identify the field you want to sort by, such as Start. Check whether anyone uses the current task IDs as external references, because permanent renumbering changes those IDs.
Sort tasks and permanently renumber their IDs
Use Microsoft Project's Sort By dialog to apply a sort order and update task IDs at the same time.
Open your project, then select View > Sort > Sort By.
In the Sort By dialog, select a field such as Start and choose Ascending or Descending. Add secondary sort fields if needed.
Select the option to permanently renumber tasks, then review the outline structure option if it is available.
Click Sort and check the ID column to confirm that the task IDs follow the new order.

Review exported project task lists in WPS Spreadsheet
WPS Office is a free, lightweight alternative for working with Office files in a familiar interface. Open an exported task list in WPS Spreadsheet to sort and review it; WPS does not renumber IDs in the original Microsoft Project file.

Frequently Asked Questions
How do I sort tasks by start date and renumber them?
In Microsoft Project, select View > Sort > Sort By, choose Start, enable the option to permanently renumber tasks, and click Sort.
Can I sort tasks without changing their IDs?
Yes. In View > Sort > Sort By, leave the permanent task renumbering option unchecked before clicking Sort.
Does renumbering change a task's Unique ID?
No. The task ID can change when tasks are permanently renumbered, but the separate Unique ID remains associated with the task.
Can WPS Office renumber IDs in a Microsoft Project file?
No. Use Microsoft Project's Sort By dialog to renumber the original project tasks. WPS Spreadsheet can sort a task list exported to an Excel file, but it does not update IDs in the Project file.




