From: "boris_stitnicky (Boris Stitnicky)" Date: 2013-05-22T02:31:07+09:00 Subject: [ruby-core:55100] [ruby-trunk - Feature #8422] add Enumerable#reverse_sort and Enumerable#reverse_sort_by Issue #8422 has been updated by boris_stitnicky (Boris Stitnicky). -1, feature creep But I'm for defining `reverse!` as O(1), not really reversing anything, just treating the last element as first and first as last. (I do not know how collections are exactly implemented, so I am not sure whether this is possible.) ---------------------------------------- Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by https://bugs.ruby-lang.org/issues/8422#change-39468 Author: Hanmac (Hans Mackowiak) Status: Feedback Priority: Normal Assignee: Category: Target version: they are better when you want descending order, enum.sort.reverse does work too, but it is to slow because it needs to build that result array twice they both can be defined just like #sort and #sort_by but negates the result of the compare block -- http://bugs.ruby-lang.org/