Sort Lines
Paste a list, choose a sort method, then sort the lines in your browser. Nothing is sent to NEXNARA.
Privacy-friendly Your text is processed locally in your browser and is not uploaded to our server.
Total Lines
0
Non-empty Lines
0
Empty Lines
0
Sort Method
—
What is Sort Lines?
Sort Lines rearranges a list of lines using the method you choose. The first spelling of each line is kept as you typed it. Sorting happens in your browser, and duplicate lines are not removed.
Alphabetical sorting
A → Z and Z → A use the page language through the browser’s Intl.Collator. Case-sensitive is off by default so Apple and apple stay together. Turn it on if uppercase and lowercase should be treated as different.
Numeric sorting
Numeric sort reads a whole line as a number, so 2 comes before 10. It does not pull numbers out of phrases such as Item 10. Lines that are not numbers are placed after the numbers and compared as text.
Natural sorting
Natural sort compares digits inside text. File 1, File 2, and File 10 stay in counting order instead of the alphabetical order File 1, File 10, File 2.
Sorting by line length
Shortest and longest sort by the number of visible characters in each line. Emoji and accented letters are counted as graphemes when the browser can do so. Leading and trailing spaces can be ignored for the comparison only.
Privacy
Your text stays in the browser. It is not sent to NEXNARA servers and is not saved in cookies, local storage, or a database.
FAQ
Does sorting remove duplicate lines?
No. Duplicate lines stay in the result. Use Remove Duplicate Lines if you want a unique list first.
What is Natural Sort?
Natural sort compares numbers inside text so File 2 comes before File 10. Plain alphabetical sort would place File 10 first.
Can I sort numbers correctly?
Yes. Numeric ascending and descending treat a whole line as a number, so 2 comes before 10. Lines that are not numbers are placed after the numbers.
Does it support non-English text?
Yes. Alphabetical and natural sort use the page language with the browser’s Intl.Collator. Korean, Japanese, Chinese, and other scripts are not damaged.
Is my text uploaded?
No. Sorting happens in your browser. Text is not uploaded, stored, or sent to analytics.