The input array
Axis along which to sort the input tensor. If not given, the flattened array is used. Default is -1.
DType of the output indices. It is only valid when ret_typ is "indices" or "both". An error will be raised if the selected data type cannot precisely represent the indices.
Whether to sort in ascending or descending order.