How to sort 2 dimensional array by primary and secondary column?



I think I figured out how to use array_multisort to sort by a primary
index. But how can i make it sort by a secondary index?

.