This is the revision history for sort a hash in <discord.gg:#412831877242683403>
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 | <*:##NULL> |