Concept Flow - Sorting by index
Start with DataFrame
Choose sort order: ascending or descending
Apply sort_index() method
DataFrame rows rearranged by index
Return sorted DataFrame
The DataFrame is sorted by its index labels in ascending or descending order using sort_index().
