Its syntax is: void ksort (array array)$w = array ("A" => "a", "I" => "i", "A" => "z", "F" => "f", "C" => "c");ksort($w);print_r( $w);?>