Use stable sort in dashboard sorter
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.
Showing
Please register or sign in to comment
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.