From: Muhammad Salman Date: 2012-10-11T02:32:35+09:00 Subject: Re: How to create an Array in a Hash Ok, I did what you proposed sorted_words = words.uniq.group_by{|w| w.downcase.each_char.sort}.values p sorted_words results in [["cars", "racs", "scar"], ["for"], ["potatoes"], ["four"], ["creams", "scream"]] Its way simpler than what i was doing previously but still the result is the same. I do not have two scream -- Posted via http://www.ruby-forum.com/.