Perform an indirect sort using an array of keys.
Parameters: keys (cupy.ndarray) –
(k, N)array containing
(N,)-shaped arrays. The
kdifferent “rows” to be sorted. The last row is the primary sort key.
Returns: Array of indices that sort the keys. Return type: cupy.ndarray
For its implementation reason,
cupy.lexsortcurrently supports only keys with their rank of one or two and does not support