use Sort::Key ; # sorting by a numeric integer key: @by_order = ikeysort { $_->{order} } @$data;
In reply to Re: sorting a list of hashes on an element/attribute of the hash
by princepawn
in thread sorting a list of hashes on an element/attribute of the hash
by perlnovice1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |