I have the following array setup called $players:
Array(
    [4153234567] => Array(
        [name] => JohnnyAppleSeed
        [rating] => 00
    )
    [4807173711] => Array(
        [name] => admin
        [rating] => 6000
    )
    [4801234562] => Array(
        [name] => 4801234562
        [rating] = > 00
    )
)
I need to sort this array and echo:
$name of person with highest rating
$name of person with lowest rating
then remove these people from the array im looking at and repeat till I have moved through everyone.
Any ideas?
 
     
     
    