Sort Text


About


Use this tool to sort a list that isn't in alphabetical or natural order into the right order. You can sort in either a rising or falling order. You can also sort based on how long or wide each character is.

Sorting Method


This tool lets you sort lines of text in three different ways.

  • Alphabetically (Alphabetical order) - The usual way for a computer to sort text is by alphabet. The order of the characters is compared, and the string whose first letter is higher on the A-Z list comes first. This is also true for numbers (0-9).

  • Numerically (Natural order) - People think that natural sort is a better way for machines to do alphabetical sorting for people. Numbers with more than one digit, like "10," "11," and "12," are treated as a single unit and put in order by their value. If you are working with numbered lists, you should use this.

  • By Character Length - The length and width of the text can be used to sort a list. The strings with the fewest characters come first in the list, and the ones with the most characters come last.

Basic Examples


Alphabetical sort - In the given example below, "A10" comes first before "A2" because "1" is bigger than "1".
A1
A10
A2
Natural sort
A1
A2
A10
Character Length
A
AA
AAA

Reverse


Using this option reverses the order of the text.

Example: Reversed after sorting by character length.
AAA
AA
A

How to Sort a List in Descending Order


By default, texts are sorted from least to most important. After sorting a list alphabetically or naturally, you can use the reverse option to put it in descending order (9-0 and A-Z).

Update: You can now use the Z-A option to sort in descending order right away.

How to Sort a List Randomly


You can sort text in no particular order by using Shuffle. Basically, it randomizes the arrangement of the list.