How to sort strings alphabetically or numbers
Arrange the lines alphabetically or taking into account the numbers in their names.
What to prepare
Open the tool using the button above and paste the text.
Procedure
Prepare your text
Insert a list with each item on a separate line. If there is a title, remove it from the field and return it after sorting.
Select settings
Select Alphabetical or Numerical, then sort language. Reverse the order if necessary. In number mode, “file2” will appear before “file10”.
Click the button
Click "Sort Rows" and wait until it's ready. If an error appears, read the message and check the file, text, or settings.
Save and check
Click “Download” on the finished result; if there is a copy button, you can copy the text. Check the beginning and end of the list, as well as elements with numbers. Make sure the header has not moved with the data.
Tool Options
Some fields appear after selecting a mode. The default settings are shown here; They are subject to change on the website.
- Order
Sort alphabetically or take into account numbers: for example, put file2 before file10.
- Reverse order
Rearrange the lines in reverse order.
- Sorting language
According to the rules of which language to compare letters when sorting.
Example
Order “Taking into account numbers”, Russian language.
Was
файл10 файл2 файл1
It became
файл1 файл2 файл10
Good to know
Empty lines are also rearranged. If they are in the way, first remove them with a separate tool.
Frequently asked questions
Where is the processing performed?
The tool runs on your device, right in your browser. Files and entered text for this operation are not sent to the server.
What to do if the result is not suitable?
Take the original file or text and try other settings in the steps above. Compare the new result with the previous one. The original files on your device remain unchanged.