matsort = np.asarray([row[row[:, 1].argsort()] for row in matcombine])