sort
sort(
self ,
*coords ,
array: None = None,
reverse: bool = False,
)-> ‘tuple[Self, MaybeArray]’
Sort coordinates.
Parameters
Parameter | Description |
---|---|
*coords |
Specify which dimensions to sort. If None, sort along dimensional coordinates. |
array | The array to sort. |
reverse | If true, sort in descending order, else ascending. |
Raises
CoordSortError if sorting is not possible.