hashmagic A little Ruby gem that adds some magical utility methods to the Hash class. sort_by_key! Recursively sorts the hash and all sub-hashes by key in ascending order. symbolize_all_keys! Recursively symbolizes the keys in the hash and all sub-hashes.