Sort lists, logs, and one-item-per-line data with natural order (so file2 comes before file10),
plain A–Z text order, or numeric-by-line mode. Choose ascending or descending, optional case-insensitive collation,
trim-aware comparison, and whether blank lines sink to the bottom. Everything runs in your browser — nothing is uploaded to DroidXP.
It reorders your text line by line. Each line is one unit — ideal for sorted lists, priority queues pasted from a spreadsheet, log levels,
build numbers, or paths and filenames where digit order matters (use Natural so item_2 sorts before item_10).
Natural uses the browser’s locale-aware localeCompare with numeric: true, so embedded numbers sort in numeric order. Alphabetical compares the full string without that digit-aware
rule (so file10 can appear before file2 in strict string order). Numeric mode treats a line as a number when the trimmed content parses as a finite number; those lines sort by value, and any
other lines are ordered after them using string comparison.
Ascending and descending flip the comparison direction. Case-insensitive applies to Natural and Alphabetical modes (it is hidden in Numeric mode). Trim before compare ignores leading and trailing whitespace when deciding order but leaves your original line text in the output. With blank lines to bottom, lines that are empty or only whitespace are collected and appended after all non-blank lines, preserving their relative order among themselves.
Pair this with the Duplicate Line Remover when you need a sorted unique list (dedupe there, or sort after dedupe). Use the Slug Generator when you need URL segments rather than sorted lines.
sort; browsers may slow on huge pastes.No. Sorting runs entirely in your browser. Drafts may be saved in localStorage on this device only.
Natural uses locale-aware comparison with numeric ordering so file2 sorts before file10. Alphabetical compares full strings without digit-aware rules. Numeric sorts lines that parse as numbers by value, then orders remaining lines with string comparison.
Use it for Natural and Alphabetical when you want Banana and banana to sort together. It is not shown in Numeric mode because ordering is driven by numeric values.
It ignores leading and trailing spaces when comparing lines; the output still shows each line as you pasted it (unless the sort only reorders — spacing per line is preserved).
With blank lines to bottom on, whitespace-only lines are moved after all other lines. With it off, blanks participate in the main sort (empty keys typically sort first). Multiple blank lines keep their relative order where possible thanks to stable sorting.
Keys are prefixed with droidxp-ts-: input text, mode, order, case-insensitive, trim compare, and blank-line option. Clear removes them.
Yes in modern browsers: lines that compare as equal keep their input order, which matters when you rely on tie-breaking.
Lines are split on \n and \r\n. A trailing \r belongs to the line unless you trim for comparison.
Yes. Lines are JavaScript strings. Collation follows the browser and locale; verify edge cases for specialized scripts if order is legally or linguistically sensitive.
Follow your policy. Nothing is sent to DroidXP, but screen capture, extensions, and backups can still expose clipboard or page content.
After the page is cached, it can work offline. No network is required for sorting.