$dogs = array('A' => 'AA', 'Bud' => 'BB','C' => 'D'); ksort($dogs); printf("%s\n", var_export($dogs, TRUE));?>
%s