From: matz@... (Yukihiro Matsumoto) Date: 2002-10-30T21:22:28+09:00 Subject: Re: Sorting HUGE hashes Hi, In message "Re: Sorting HUGE hashes" on 02/10/30, "Bulat Ziganshin" writes: |hash.to_a.sort {|a,b| a[1].size <=> b[1].size} Or hash.sort_by{|a|a[1].size} if you're using 1.7.x. matz.