SORT_NUMERIC - compare items numerically
?php $fruits = array( "papaye" ,"orange" ,"banane" ,"ananas"); sort($fruits); for(reset($fruits); $key = key($fruits); next($fruits)) {echo "fruits[$key] = ".$fruits[$key] ."\n";}?