<br />

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

TensorFlow variant of NumPy's `sort`.

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

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