Categories: None [Edit]

ruby19_stable_sort

https://rubygems.org/gems/ruby19_stable_sort
The Ruby 1.8 Enumerable.sort_by method was stable, in that items with matching conditions were preserved in the same order. That's not the case in Ruby 1.9. Some of my code depended on this behavior, and I'm sure I'm not the only one. So here's a stable_sort_by method that preserves the orders of items with matching sort_by values.

Total

Ranking: 91,562 of 193,649
Downloads: 9,681

Daily

Ranking: 26,275 of 193,618
Downloads: 8

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconjmoses