array sort array php code example Example: php sort hight to low $letters=array("b","a","c"); arsort($letters); //referse sort an array ("c","a","b")