Description: Sort hash keys while printing RETVALs
Author: Reiner Herrmann <reiner@reiner-h.de>
Bug-Debian: https://bugs.debian.org/829320
Forwarded: https://sourceforge.net/p/pdl/patches/83/

--- a/hdf5.pd
+++ b/hdf5.pd
@@ -1201,7 +1201,7 @@ sub create_low_level {
     $xsout .= ");\n";
     $xsout .= "OUTPUT:\n";
     $xsout .= "\tRETVAL\n";
-    foreach $var (keys %output) {
+    foreach $var (sort keys %output) {
       $xsout .= "\t$var\n";
     }
     $xsout .= "\n\n";
