Ordering multi-dimensional Array in Python : Lets say I have a multidimensional array [A][B][C], and I want to order the array with respect to a, ofcourse the relationship of the values of B and C which corresponded to their neighbouring A needs to be maintained...
Also assuming we have multiple A's with the same value, how do we order the B's so that we have A ordered primarily then B ordered if its possible.
Something like
`
(1,2,3)
(1,3,7)
(1,4,5)
(1,5,2)
(2,3,5)
(2,4,9)
(2,5,0)
...`