From: mortee Date: 2007-10-14T21:27:53+09:00 Subject: "reversing" a Time Hello, is it possible to reverse order when using a Time as sort key for sort_by? I know I could use sort, and time2 <=> time1, but it's getting complicated when the sort key is compound, like sort_by{|e| [e.name, e.time]} With e.g. numerics I can simply negate the value for reverse order, but I can't negate a Time (or a String, for that matter). thx mortee