cupy.argsort — CuPy 13.4.1 documentation (original) (raw)

cupy.argsort(a, axis=-1, kind=None)[source]#

Returns the indices that would sort an array with a stable sorting.

Parameters:

Returns:

Array of indices that sort a.

Return type:

cupy.ndarray

Note

For its implementation reason, cupy.argsort does not supportkind and order parameters.