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)"