I have looked at array_multisort, asort, etc. NONE of them do what I need.
My array looks like this:
$array = First Id;
$array = First Name;
$array = First Rating;
$array = Second Id;
$array = Second Name;
$array = Second Rating;
$array = Third Id;
$array = Third Name;
$array = Third Rating;
Now, I want to sort the array (very very fast if possible cuz the array is
huge...150 such values) based on the "Rating" for each candidate, which is
the third column inside this matrix array. How should I ask PHP to do this?
Also, when I do sort by the Rating I want the ID and the name to remain the
same for each candidate, i.e., I want the indexes to be maintained.
Thanks in advance
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php