in reply to Re^2: What are the other option for sorting the keys of hash of hashes
in thread What are the other option for sorting the keys of hash of hashes
Faster still, array or arrays@hash = sort {$a->{"Size"} <=> $b->{"Size"}} @hash;
So which is more useful? flexible? easier to write maintain? Whats cheaper, your time, or computer time?@hash = [ blah1 => 33], [ blah2 => 44 ]; @hash = sort {$a->[1] <=> $b->[1] } @hash;
|
|---|