I have the following?
$array1 = array();
$array2 = array($Id, $Name, $Count);
array_push($array1, $array2);
I want to sort array1 on the $count?
sort()
and ksort()
don't do what i require?
Any ideas?
Thanks
Edit:
I am inputing an Id number, name text and number of times the name occurs, so I want to to have the name with the highest count at the top of the array!!