Sort Strings

Paste lines to sort; optionally sort using human-friendly numeric segments.

Ready.

    

What this page can do

Sorts a list of strings alphabetically or using a natural numeric sort that splits digits and compares numbers numerically.

Expect input

One item per line. Items may include letters and digits (e.g., file names like file2, file10).

Output

Sorted list printed as lines. With natural sort enabled, file2 comes before file10.