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