Text Line Sorter

WHATSON / DEVELOPER & DATA

Text Line Sorter

Sort lines naturally, lexically or by numeric values.

PHP processes these inputs on your WordPress server. This plugin does not save them. Use sample data when sharing.

1 Input lines
2 Sort order
Developer & Data

Natural order, byte order and numeric order can produce different sequences from the same list.

Choose the mode that matches the entries, then inspect the sorted output before using it.

01 / GET STARTED

How to use Text Line Sorter

  1. Paste or enter text lines.
  2. Choose comparison and direction.
  3. Select Process input. Read the returned values alongside the assumptions below before copying, exporting or acting on the result.
02 / A CLEARER WORKFLOW

Why choose this tool?

The mode choice makes the reason for Item 2 and Item 10 ordering visible.

Before you use the result

Natural order uses case sensitive PHP natural comparison. Lexical mode is byte ordering, not a language collation.

03 / COMMON QUESTIONS

Questions about Text Line Sorter

Is lexical mode a language dictionary order?

No. It uses byte ordering rather than locale specific collation.

What should I check before using Text Line Sorter?

Check Text lines, Comparison and Direction. Use the exact units shown beside the controls and replace any example values with your own inputs.

More from Developer & Data

Related Tools

Explore the other tools in this collection.

31 tools
Explore Whatson tool information