July 21, 2012
12:07 a.m.
On Jul 20, 2012, at 4:19 PM, Nick Coghlan wrote:
Because the decision of how sorting should occur is up to the consumer, not the provider. sorted() has the contract to produce a list, using an algorithm that makes a lot of guarantees about the results. If objects are allowed to override sorting completely, then those guarantees are no longer possible.
Well said. Raymond