The function's syntax is: void asort (array array)
$cities = array ("A", "N", "R", "V", "A");
asort($cities);
// for (reset ($cities); $key = key ($cities); next ($cities)) :
// print "cities[$key] = $cities[$key]
";
// endfor;
print_r($cities);
?>