Nirmion
Help Find a tool

Order one plain-text item per line

Text Sorter

Sort lines ascending or descending with numeric-aware collation, optional case sensitivity, and explicit blank-line handling entirely in the browser.

  1. 01Private by designYour text stays in this browser tab.
  2. 02Bounded and responsiveUp to 500,000 characters in each main text field.
  3. 03Ready to reuseCopy the result or download a branded TXT file.
No text upload to Nirmion

Counting and transformations run locally. Nirmion does not send the text in this workspace to an API.

01 / Input

Add the line-based list to sort

Each physical line is one sortable item. This tool does not parse CSV fields, table columns, quoted delimiters, or natural-language categories.

Complete the required fields to enable this action.

Runs in this tab without an API request.

Product guide

Sort a plain-text list without hiding the collation rule

Nirmion uses locale-aware, numeric collation so Item 2 can appear before Item 10. You decide direction, case sensitivity, and whether empty lines remain in the list.
Step A

Prepare the input

Paste one complete item per line. Normalize leading spaces first when indentation is not meaningful, because line content is compared as entered.

Step B

Choose the rule

Ascending or descending controls direction. Case-insensitive mode compares base letters while preserving original spelling. Blank lines can be removed or retained as sortable empty items.

Step C

Review the output

Check numbered labels, accented names, punctuation prefixes, and repeated values. Browser locale collation is useful for general lists but may not match a database, spreadsheet, language-specific dictionary, or legal filing order.

How it works

Stable browser collation with numeric comparison

Line endings are normalized to line-feed characters and the array is sorted with localeCompare using numeric comparison. Case-insensitive mode requests base sensitivity; sensitive mode requests variant sensitivity. Modern JavaScript sorting is stable, so values considered equal retain their prior order, while the changed-position metric compares the resulting sequence with the source.

Useful when

Bring order to small and medium line lists

Line sorting is effective when each row is independent and the comparison rule is simple.

  1. Alphabetize names, labels, tags, glossary entries, release notes, route lists, or checklist items.
  2. Order numeric-suffixed values naturally without placing 10 directly after 1.
  3. Prepare a deterministic line list before comparing versions, removing duplicates, or reviewing a manual import.

Questions answered

Text Sorter questions

Practical boundaries matter with text tools. These answers explain what is measured, what is retained, and when a manual review is still needed.

Why does Item 2 come before Item 10?

Numeric collation recognizes digit sequences as numbers instead of comparing every character lexically. This is often more useful for human-readable labels.

Are duplicate lines removed?

No. Sorting preserves duplicate items. Use Duplicate Line Remover afterward when duplicates are unwanted.

Will the order match Excel or my database?

Not necessarily. Locale, case, accents, punctuation, null handling, and collation versions can differ. Reproduce the destination collation when contractual ordering matters.

Privacy and retention

Your draft stays on your device.

Nirmion performs these operations with browser JavaScript. The workspace does not call the catalogue API with your source text, and completed-job content is kept only in this component memory for re-download.

A downloaded file remains in your browser downloads, device storage, backups, and any location where you share it. Clear or close the page when working on a shared device, and avoid pasting secrets into extensions or third-party clipboard managers.

Tool details

A numeric-aware line sorter with visible options

Nirmion Text Sorter orders one item per line in ascending or descending order. It supports numeric-aware browser collation, case-sensitive or base-letter comparison, and deliberate blank-line retention or removal. The source never leaves the tab and can contain up to 500,000 characters.

The result downloads as text_nirmion_tools_sorted.txt and includes line and changed-position metrics in the interface. This tool is intentionally plain-text based; CSV columns and spreadsheet data should be handled by structured table tools instead.