[ET Trac] #2318: sort Perl hash keys to make generated code reproducable