From: Todd Benson Date: 2008-11-30T02:15:29+09:00 Subject: Re: Programming Noob Chris Pine Tutorial sorting without use of array.sort method On Thu, Nov 27, 2008 at 9:15 PM, List.rb wrote: >> Cheating... >> >> a = my_word_array >> sorted = [] >> while !a.empty?; sorted << a.delete(a.min); end >> >> Todd >> > > Although this looks cleaner I think.. > > sorted << a.delete(a.min) until a.empty? I like that! Todd