Ord() in sorting.
Sep 4, 2024 · 2 min read · Using ord() as a key in python - sorting. Well, it's not as hard or complicated as you may think. I thought the same, probably many others too - but don't worry. Here's how to use ord() as your key during sorting: create your main function that take...
Join discussion