Sorting arrays in NumPy by column September 15, 2022 by Tarik To sort by the second column of a: a[a[:, 1].argsort()]