Writing Utility

Line Sorter

Sort one item per line alphabetically, numerically, or by length while preserving the original list for review.

Original lines

Paste one item per line, then choose the order you need.

Sorted result

Review the order before copying or downloading the artifact.

Input lines0
Output lines0
Empty or duplicate lines removed0

Your lines are processed directly in this browser by this tool. This tool does not upload the text you enter to Mycelgrid for processing.

How to use Line Sorter

  1. Paste one item per line.
  2. Choose alphabetical, numeric, or length-based ordering.
  3. Choose whether to ignore case, trim lines, remove empty lines, or remove exact duplicates.
  4. Select Sort lines.
  5. Review the sorted result and the line counts.
  6. Copy the result or download a local TXT file.

Examples

Alphabetize a checklist

Sort names, tasks, tags, or terms from A to Z without editing each line manually.

Order numbers correctly

Use numeric sorting when a list contains values such as 2, 10, and 100. Alphabetical sorting would place those values differently.

Review shortest or longest items

Sort by line length to find brief labels, oversized titles, or unusually long entries.

Frequently asked questions

Does this remove duplicates automatically?

No. Duplicate removal is optional and only removes exact duplicate lines after any selected trimming.

What happens to the original order?

The original pasted list remains unchanged in the input surface. The sorted artifact appears separately.

How does numeric sorting handle non-numeric lines?

Lines beginning with valid numbers are ordered numerically. Non-numeric lines are placed after numeric lines in ascending mode and before them in descending mode, then ordered alphabetically.

Does Ignore letter case change the output text?

No. It changes comparison behavior only. The original capitalization remains in the output.

Is my list uploaded?

No. This tool processes the entered lines in the browser and does not upload them to Mycelgrid for processing.

Method and limitations

The sorter normalizes line endings, applies the selected trimming and empty-line rules, optionally removes exact duplicate strings, and then performs a stable sort using the chosen comparison method.

Alphabetical comparisons use the browser's locale-aware comparison. Numeric sorting reads a number only when a line begins with a valid numeric value. Review mixed-format data before replacing the source.

The tool does not modify punctuation, capitalization, wording, or internal spacing except when the trim option is selected.