modin.pandas.DataFrame.sort_index¶ DataFrame.sort_index(*, axis=0, level=None, ascending=True, inplace=False, kind='quicksort', na_position='last', sort_remaining=True, ignore_index: bool = False, key: Optional[IndexKeyFunc] = None) → Self | None[source]¶ Sort object by labels (along an axis).