<?php
$src=Array(
Array
(
'username' => '0yl',
'accuracy' => 0.00
)
,
Array
(
'username' => '11yl',
'accuracy' => 1.00
)
,
Array
(
'username' => '12yl',
'accuracy' => 0.50
)
,
Array
(
'username' => '13yl',
'accuracy' => 1.50
)
);
foreach($src as $key=>$row){
$accuracy[$key]=$row['accuracy'];
}
array_multisort($accuracy,SORT_ASC,$src);
print_r($src);
?>