From: "Peña, Botp" Date: 2003-04-23T18:23:30+09:00 Subject: Re: ASCII class inheritance tree generator Harry Ohlsen [mailto:harryo@qiqsolutions.com] helpfully remarked: > ... > I know it's a bit anally retentive :-) ... but I prefer > references like this in alphabetical order, so I added a line: > ... > > if children[current_root] != nil > children[current_root].sort! {|a, b| a.to_s <=> > b.to_s} # <---- THIS ONE cool, too. very helpful. thanks -botp