@ 2016-01-05T15:12:18Z <?php
$arr =[
[0.577677, '/art and entertainment/visual art and design/painting'],
[0.576528, '/technology and computing/internet technology/email'],
[0.197858, '/business and industrial/energy/oil/oil and gas prices'],
[0.707193, '/sports/wrestling'],
[0.506016, '/style and fashion/beauty/cosmetics'],
[0.144159, '/food and drink/beverages/alcoholic beverages/cocktails and beer'],
];
uasort($arr,function($a,$b){
return $a['0'] - $b['0'];
});
print_R($arr);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Array
(
[0] => Array
(
[0] => 0.577677
[1] => /art and entertainment/visual art and design/painting
)
[1] => Array
(
[0] => 0.576528
[1] => /technology and computing/internet technology/email
)
[2] => Array
(
[0] => 0.197858
[1] => /business and industrial/energy/oil/oil and gas prices
)
[3] => Array
(
[0] => 0.707193
[1] => /sports/wrestling
)
[4] => Array
(
[0] => 0.506016
[1] => /style and fashion/beauty/cosmetics
)
[5] => Array
(
[0] => 0.144159
[1] => /food and drink/beverages/alcoholic beverages/cocktails and beer
)
)
Output for 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 Array
(
[4] => Array
(
[0] => 0.506016
[1] => /style and fashion/beauty/cosmetics
)
[5] => Array
(
[0] => 0.144159
[1] => /food and drink/beverages/alcoholic beverages/cocktails and beer
)
[3] => Array
(
[0] => 0.707193
[1] => /sports/wrestling
)
[2] => Array
(
[0] => 0.197858
[1] => /business and industrial/energy/oil/oil and gas prices
)
[1] => Array
(
[0] => 0.576528
[1] => /technology and computing/internet technology/email
)
[0] => Array
(
[0] => 0.577677
[1] => /art and entertainment/visual art and design/painting
)
)
preferences:dark mode live preview
214.85 ms | 403 KiB | 330 Q