Natural alphabetical order

Sort text lines alphabetically or naturally

Put file2 before file10, choose ascending or descending order, and keep ties stable.

Local text processing

One item per line

Text stays on this device

Line breaks separate items. Internal spaces are preserved.

Pipeline order: trim edges → remove blank lines → remove duplicates → sort or reverse. Review the output before using it.

Reconciled output

Cleaned list

Input lines8
Output lines8
Duplicates removed0
Blank lines removed0
Lines trimmed0
Output changedYes
Output text

The result uses LF line breaks. Equal natural-sort keys keep their original relative order.