What happens when two lines sort the same?
A tie keeps those lines in their original relative order, even when using descending order.
Put a list of names, labels, or numbered files in order. Choose alphabetical sorting for words and natural sorting for labels that contain numbers.
Natural sorting interprets groups of digits as numbers. For a set of photos, that puts photo2.jpg before photo10.jpg. Alphabetical sorting uses the chosen language’s normal text collation and compares the digits as ordinary characters.
Accented letters can appear at different points in the alphabet. For example, Swedish places Å, Ä and Ö after Z. Pick the language whose alphabet you expect. Use descending order when you want the later values first.
A tie keeps those lines in their original relative order, even when using descending order.
Sorting keeps every copy of a repeated entry. The separate blank-line option can remove whitespace-only lines.
Natural sorting compares runs of digits within text. Use a Semantic Versioning sorter when prerelease tags and build labels matter.