Using Sort Lines: practical guide
Sort a list in one step
Paste lines of text and sort them alphabetically or in reverse. It is useful for keyword lists, names, URLs and anything where you want to find duplicates or compare two lists easily.
Why the order may surprise you
Numbers sorted as text put 10 before 2, because the comparison is character by character. Uppercase and lowercase letters can also sort apart depending on the setting. Remove blank lines and extra spaces first for a cleaner result.