NumPy

Sort array in descending/reverse order

In-place

X[::-1].sort()

Create new array

np.sort(X)[::-1]