8000 GH-91415: Mention alphabetical sort ordering in the Sorting HOWTO by rhettinger · Pull Request #98336 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-91415: Mention alphabetical sort ordering in the Sorting HOWTO 8000 #98336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 16, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
.
  • Loading branch information
rhettinger committed Oct 16, 2022
commit 7753c4866bf370d6f52cab6f9af1330d52187b32
2 changes: 1 addition & 1 deletion Doc/howto/sorting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ Odds and Ends

* For locale aware sorting, use :func:`locale.strxfrm` for a key function or
:func:`locale.strcoll` for a comparison function. This is necessary
because the "alphabetical" sort ordering can vary across cultures even
because "alphabetical" sort orderings can vary across cultures even
if the underlying alphabet is the same.

* The *reverse* parameter still maintains sort stability (so that records with
Expand Down
0