I have a multidemsional array I'd like to resort, depending on values of any of the sub arrays. Is there an easy way to do this??
The array looks like
array(11) {
[0]=>
object(stdClass)#130 (11) {
["id"]=>string(4) "1784"
["count"]=>string(4) "10"
}
[1]=>
object(stdClass)#130 (11) {
["id"]=>string(4) "1520"
["count"]=>string(4) "30"
} }
How could I resort something like this based on the "count" field? Thanks for any help!