Pandas is a powerful python library to analyze and manipulate data. By default data frame's index starts with 0, which I don't like so much. Let's start the index with 1.

import pandas

data=[{'name': 'alex', 'age': 30}, {'name': 'manny', 'age': 32}, {'name': 'mike', 'age': 29}]
df=pandas.DataFrame(data)
df.sort_values('age',inplace=True)
df.reset_index(drop=True,inplace=True)
df.index+=1
print(df)
python3.8 /tmp/pd.py
    name  age
1   mike   29
2   alex   30
3  manny   32