<?php $items=[3,7,2,9,2,3,8]; $c = function($a, $b) { return $a <=> $b; }; uasort($items, $c); print_r($items);
You have javascript disabled. You will not be able to edit any code.