Others

How to Renumber Task IDs After Sorting in Microsoft Project

Elise WilliamsElise Williams Nov 22, 2026 868 views

Question details

The user wants to renumber Microsoft Project task IDs automatically after sorting tasks by start date or another field.

How to Renumber Task IDs After Sorting in Microsoft Project
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the sort settings

Open your project, then select View > Sort > Sort By.

2
Choose the sort order

In the Sort By dialog, select a field such as Start and choose Ascending or Descending. Add secondary sort fields if needed.

3
Enable renumbering

Select the option to permanently renumber tasks, then review the outline structure option if it is available.

4
Apply the sort

Click Sort and check the ID column to confirm that the task IDs follow the new order.

Sort tasks and permanently renumber their IDs
Task IDs can change: Permanent renumbering changes the task ID values used in the current task order. The separate Unique ID field remains associated with each task.
Free Microsoft Office alternative

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.

Sort exported task lists by start date or other spreadsheet columnsOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for an easier transitionWork with a free, lightweight Office alternative
microsoft office alternative - wps office

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.