Push the keys onto an array, and use it to drive the print loop.
In reply to Re: hoh - print in the inserted order by sasdrtx in thread hoh - print in the inserted order by perlthirst