pandas.Panel.sort_index

Panel.sort_index(axis=0, ascending=True)

Sort object by labels (along an axis)

Parameters:

axis : {0, 1}

Sort index/rows versus columns

ascending : boolean, default True

Sort ascending vs. descending

Returns:

sorted_obj : type of caller