How can I sort 2d array in NumPy by the 1st column ascending and 2nd column descending?
For example,
a = array([[9, 2, 3],
[4, 5, 6],
[7, 0, 5],
[7, 1, 6]])
Result :
array([[4, 5, 6],
[7, 1, 6],
[7, 0, 5],
[9, 2, 3]])