MultiIndex.
sortlevel
Sort MultiIndex at the requested level. The result will respect the original ordering of the associated factor at that level.
If a string is given, must be a name of the level. If list-like must be names or ints of levels.
False to sort in descending order. Can also be a list to specify a directed ordering.
Resulting index.
Indices of output values in original index.