'Sublime text replace all lines first number in sequential order

Modding for a game, and the first number in each line needs to be sequential order, had to delete some so there no longer in sequential order, How does one replace the numbers back in sequential order.

image of CSV file



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source