Renumber position to 1, 2, 3, … keeping the current order.
position
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.