sort multidimensional arrays by field specified.
specify the key by which you want your multiarray sorted.

download options for array handling / array multi sort

you can download the source as PHP file,

open the file as plain text in a new window or

get the code in a textarea to copy it.