You can use the Regenerate Component ID feature in Project Editor to regenerate the Component ID for multiple products simultaneously. This can be used to "fill in gaps" in your component ID numbering to get a sequential list.
In this example, you will see that there are gaps in the component IDs in the Component ID column. This is due to deleting and re-adding products while building the project.
1/ Select the products you want to renumber, and then click Update > Regenerate Component ID from the Tools tab.
2/ Click Yes on the following prompt.
The component IDs will now be regenerated in a sequence.
In the example above, everything went smoothly because the component IDs that "filled in the gaps" did not exist on other items within the project.
There is also another feature that regenerates all of the component IDs in a project at one time via the Component ID Format settings in Project Editor.