# xarray.DataTree.argsort

#### DataTree.argsort(axis=-1, kind=None, order=None, , stable=None, descending=None)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/_typed_ops.py#L140-L141)

Returns the indices that would sort this array.

Refer to numpy.argsort for full documentation.

#### SEE ALSO
[`numpy.argsort`](https://numpy.org/doc/stable/reference/generated/numpy.argsort.html#numpy.argsort)
: equivalent function
