This should be really simple, but what is the way to go on this. I want to sort an multidimensional array by a key, like this:
Array ( [0] => Array (
usort function is what you're looking for: