Hi,

I am very new to PHP and wonders if a built-in PHP function could do the trick. From what I read the many post, I just can't do it.

I have a 2-dimensional array of dimension $teamlist[25][7]

$teamlist[0][0] = team name
$teamlist[0][1] = game played
$teamlist[0][2] = wins
$teamlist[0][3] = losses
... etc

How would I sort that array by "Game Played" or "Losses" ... etc etc.

Thanks for helping.