This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients CendioOssman, rhettinger, steven.daprano
Date 2022-04-08.17:45:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don't think splashing this everywhere else in the docs would be helpful.  Tools like list.sort, sorted, min, max, nlargest, nsmallest use whatever sort order is provided by the underlying object whether it be a string, tuple, float, or int.

The section on expressions is the intended place to cover how comparison are defined for core objects:

As suggested, I will edit the sorting howto to be cleared that locale aware sort ordering refers to alphabetical orderings which can vary (for example, the Spanish ll sorts differently in different locales).
Date User Action Args
2022-04-08 17:45:22rhettingersetrecipients: + rhettinger, steven.daprano, CendioOssman
2022-04-08 17:45:22rhettingersetmessageid: <>
2022-04-08 17:45:22rhettingerlinkissue47259 messages
2022-04-08 17:45:22rhettingercreate