$array = array(5,4,6,8,5,3,4,6,1);
I want to sort $array like asort does, but the problem is that asort is a
$array
asort
$orignal_array = array(5,4,6,8,5,3,4,6,1); $copied_array = $orignal_array; asort($copied_array); $sorted_array = $copied_array; not the most efficient way to do it though :(