• rpereira2's avatar
    Use stable sort in dashboard sorter · 396a1da3
    rpereira2 authored
    Since Ruby's sort_by method is not stable, use a modified sort_by
    method that breaks ties using the original index position
    of the array member.
    396a1da3
utils_spec.rb 12.4 KB