$weight = [ 'Pete' => 75, 'Benjamin' => 89, 'Jonathan' => 101 ]; ksort($weight);
usort($array, function ($a, $b) { return ($a['specific_key'] < $b['specific_key']) ? -1 : 1; });
//Sort an array in reverse order and maintain index association arsort($myArray)