Re:Sorting Algorithm Cheat Sheet
by hinkley on Friday April 26, 2019 @06:05PM
(#19762164)
You can pry my stable sort algorithms out of my cold, dead hands.
[ Parent
| on HN ]
Heh, I think stable sorts are great. However, you don't always need one, and you do pay a little bit for it.
Add the factors to the sort key? Every sort is stable if you have some vague ideas about what to sort on.