note 2394 deleted from arsort by ronabop
| From: | ronabop@php.net | Date: | Sun, 03 Sep 2000 09:49:55 +0000 |
| Subject: | note 2394 deleted from arsort by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4016@lists.php.net to get a copy of this message | ||
What if we need to sort a multi-demension array? For example, an array such as
$TeamInfo[$TeamID]["WinRecord"]
$TeamInfo[$TeamID]["LossRecord"]
$TeamInfo[$TeamID]["TieRecord"]
$TeamInfo[$TeamID]["GoalDiff"]
$TeamInfo[$TeamID]["TeamPoints"]
and we have say, 100 teams here, and I want to sort by "TeamPoints"?