sort row by column value numpy code example Example: how to sort values in numpy by one column sorted_array = an_array[numpy.argsort(an_array[:, 1])]