m,n) shaped numpy array. I would like to sort the whole array by the values in the index [1,2,:] say. Is there an easy way to do this? I tried to use pandas Panel but for whatever reason there is no sort by values function for it.
That 'duplicate' someone linked only seems to work for a column in an 2d array. I am using the term column in a more general sense i.e a 1d sub-array of an (mxnxlx..) array