Hi -- On 5/5/07, Gary Wright <gwtmp01 / mac.com> wrote: > > On May 5, 2007, at 4:47 PM, Robert Dober wrote: > > Yes but > > 2 < 10 > > while > > 2.to_s > 10.to_s > > > Ah, I was missing the context of 'sorted keys'. > > It seems to me that the desire to have sorted keys and > to also have keys that are not comparable would be > an indication that something isn't quite right, either > the design is wrong or there are some bugs to be > removed. It's not that integers aren't comparable; it's that they're an example of something you wouldn't want to filter through to_s prior to comparing. David -- Upcoming Rails training by Ruby Power and Light: Four-day Intro to Intermediate May 8-11, 2007 Edison, NJ http://www.rubypal.com/events/05082007