sort n-d numpy array by column with a smaller n-d array,"a[(np.arange(a.shape[0])[:, (None)]), :, (b2)].transpose(0, 2, 1)"