bpo-35020: Link to sorting examples from list.sort() by tirkarthi · Pull Request #9931 · python/cpython
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope! There's no reason at all to believe that the algorithm can do "multiple sorts efficiently" in general. It is true that the algorithm can take major advantage of pre-existing order, but that has nothing in general to do with multiple sorts. So if this needs to be said at all(*), it doesn't belong in the "multiple sorting" section at all.
(*) About "at all": Python the language doesn't guarantee its sort method can take any advantage of pre-existing order. That was a primary goal of "timsort", but remains an implementation detail rather than a language feature.