Create an index that could be used to sort this data_object.
Parameters:
descending (bool) – Sort in descending instead of the default ascending order.
order (Sequence[str | tuple[str, ...]]) – Sequence of cells to define a custom order. Any cells that are not
present in order will be omitted in the sort_index, i.e. the
sort_index will be shorter than its source.
Returns:
sort_index – Array which can be used to sort a data_object in the desired order.