1DataFrame.sort_values(self, by, axis=0, ascending=True,
2 inplace=False, kind='quicksort',
3 na_position='last',
4 ignore_index=False)
5
6# Example
7df.sort_values(by=['ColToSortBy'])
1sorted = df.sort_values('column-to-sort-on', ascending=False)
2#or
3df.sort_values('name', inplace=True)