3v4l.org

run code in 300+ PHP versions simultaneously
<?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);

preferences:
52.83 ms | 402 KiB | 5 Q