Subject: Re: What's New and Shiny in Ruby 1.8.0?
From: "Brett H. Williams" <brett_williams agilent.com>
Date: Thu, 7 Aug 2003 01:35:40 +0900
References: 7803278122
In-reply-to: 78122
On Aug 6, Harry Ohlsen wrote:
> sorted = people.sort_by { |p| [p.last_name, p.first_name, p.salary] }
I really like this. But is there a simple easy way to get a descending
sort here without reverting to sorted = people.sort { ... } ?