how do I sort a ndarray based on one of its rows? example:
ndarray = [['a' 'b' 'c']
['2' '7' '6']
['3' '0' '1']]
I sort based on the second row and i have:
newsortedndarray = [['a' 'c' 'b']
['2' '6' '7']
['3' '1' '0']]
please help