From: Subbu Date: 2008-03-11T01:34:57+09:00 Subject: Sort hashes using values Ruby automatically sorts hashes by keys, which means: >> h = {"first"=>2,"second"=>1,"third"=>3} => {"third"=>3, "second"=>1, "first"=>2} How do I sort this by the values? So that I have: {"second"=>1, "first"=>2, "third"=>3}