order php array by alpha asc code example Example: php store sorted array $array = array(); $sorted_array = $array; asort($sorted_array);