List Sorter

Sort any text list alphabetically, numerically, or in reverse order — instantly and free.

Input Your List
Sorted Result

How It Works

The List Sorter reads each line of your input as a separate item. For alphabetical sorting, it applies a lexicographic comparison using the locale-aware String.prototype.localeCompare() method, or a case-sensitive byte-order comparison when that option is enabled. For numeric sorting, each line is parsed with parseFloat() and sorted by ascending or descending numeric value. Blank lines are filtered out when the option is checked. The sorted array is then joined back with newline separators and displayed in the results panel.

Frequently Asked Questions

How do I sort a list alphabetically?
Paste your list into the input area with one item per line, select "Alphabetical (A → Z)" from the sort mode dropdown, and click "Sort List." The tool will rearrange all items in alphabetical order from A to Z automatically.
Can this tool sort numbers in order?
Yes. Select "Numeric (Low → High)" to sort numbers from smallest to largest, or "Numeric Reverse (High → Low)" for descending order. The tool correctly handles integers and decimal numbers.
Is my data sent to a server?
No. All sorting happens entirely in your browser using JavaScript. Nothing is uploaded, stored, or transmitted. Your data stays completely private on your device.

Related Tools

Free tools by TUNA — energy supply from vetted manufacturers