However, if you control the code that calls your code, you might get them to us Tie::IxHash objects instead of ordinary hashrefs, and that does preserve the order.
In reply to Re: Sorting hash references
by matija
in thread Sorting hash references
by diparun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |