Project
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
Development
Dependencies