This is the revision history for sort a hash in <*:##NULL>
factoid_id | subject | copula | predicate | author | namespace |
---|---|---|---|---|---|
5632 | sort a hash | is | You can't sort a hash, but you can sort its keys according to their values: sort { $hash{$a} <=> $hash{$b} } keys %hash | perlbot |