Okay so I have a multidimensional associative array, $userlist[$file][$stat], $stat only contains one value, I want to sort $userlist[$file] based off some associative element in $stat, say like 'wins'. array_multisort isn't appropriate as far as I can tell since $stat isn't an array, it's just a value, like, $userlist[$files]['wins']=4. An exampleof the data would be as follows:
$userlist['000001']['wins']=4 $userlist['000002']['wins']=9 $userlist['000003']['wins']=2 I'd like, after running whatever command/function, to have the list be sorted as follows- $userlist['000002']['wins']=9 $userlist['000001']['wins']=4 $userlist['000003']['wins']=2 I'm sure it's possible, I'm just clueless as to HOW to go about it. Any help much appreciated. Regards Louis Grenzebach