I have an associative array, but I want to sort order them by the 'cat_name
$test = Array
(
    [0] => Array
        (
            [cat_id] => 5
            [cat_name] => Resolution
        )
    [1] => Array
        (
            [cat_id] => 6
            [cat_name] => Speed
        )
    [2] => Array
        (
            [cat_id] => 7
            [cat_name] => Accuracy 
        )
)
When I do sort($test), it sorts the array in order of 'cat_id', how do I sort it by 'cat_name'?
