I just saw this picture the other day and it gave me an idea on how to implement this algorithm.
I've had an idea for a while about how to best sort a list of stuff that doesn't have a quantifiable value.