From: senthil Date: 2007-03-13T18:45:39+09:00 Subject: sorting a hash based on a attribute of teh objects which it HI all, I want to sort a hash based on a attribute of the objects which it is storing.For example i am having a bean diagnosis with weightage as a attribute.i want to sort the hash of diagnosis based on the weightage.how to do this . can any one explain me .. thanks and regards, senthil kumar -- Posted via http://www.ruby-forum.com/.