From: James Gray Date: 2008-01-26T12:59:08+09:00 Subject: Re: Making Change (#154) On Jan 25, 2008, at 5:44 PM, Jens Wille wrote: > James Gray [2008-01-25 23:57]: >> I guess I should have said: is it that hard to call sort { |a,b| >> b <=> a }? > am i missing something? what's wrong with sort.reverse? apart from > the fact that it's a whole lot faster ;-) Because my first computer science teacher drilled into my head that you sort it correctly in the first place, instead of using two operations to get what you wanted. I guess he hadn't run into Ruby yet. ;) James Edward Gray II