Since keys are not needed:
my $sorted = [ sort {$a->{Priority} <=> $b->{Priority}} values %{$data->{Elements}} ];
In reply to Re: Sorting on Nested Element
by Anonymous Monk
in thread Sorting on Nested Element
by dsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |