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