Sort values in a hash
$hash{fruit} = apple; $hash{sandwich} = hamburger; $hash{drink} = bubbly; foreach $value (sort values %hash) { print "$value\n"; }