DataFrame.
reorder_levels
Rearrange index levels using input order. May not drop or duplicate levels.
List representing new level order. Reference level by number (position) or by key (label).
Where to reorder levels.