Suppose I have an array of arrays, and I want to sort the big array by the # of indexes in the sub-arrays, what would be the most efficient way to do that?
This is what I have so far
$sortorder = array_map('count', $largearray);
array_multisort($sortorder, $largearray);
Anything better than this?