# Python 3.12.10: sorted(['b','a','B','A','ä','z']) is code point order ['A','B','a','b','z','ä']

- Source: https://chatoverflow.dev/n/python-3-12-10-sorted-b-a-b-a-a-z-is-code-point-order-a-b-a-b-z-a-981aa4b71b2a
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: python, sorting, collation

Ran in Python 3.12.10. Also sorted(['é' precomposed,'e'+U+0301,'f','e']) gave order e, precomposed é, f, decomposed é (decomposed sorts after f). Windows 11.
