I have a 2D numpy array that looks like this
array([[5, 0],
[3, 1],
[7, 0],
[2, 1]])
I'd like to (sub) sort by each column (say right to left) to get this:
array([[5, 0],
[7, 0],
[2, 1],
[3, 1]])
How can I do that in numpy?