# tf.experimental.numpy.argsort

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.4.0/tensorflow/python/ops/numpy_ops/np_math_ops.py#L1192-L1214) |

TensorFlow variant of NumPy's `argsort`.

    tf.experimental.numpy.argsort(
        a, axis=-1, kind='quicksort', order=None
    )

See the NumPy documentation for [`numpy.argsort`](https://numpy.org/doc/1.16/reference/generated/numpy.argsort.html).