%hash = (this => 'one', that => 'two'); print join(', ', map({ "$_ => $hash{$_}" } sort keys %hash)), "\n";