in reply to sorting on subkey of hash of hashes
my @sorted = sort { $a->{empid} <=> $b->{empid} } @{$parsed->{employees}}; [download]