Skip to main content

Text & Lists

Sort List

Sort text items into a selected order.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Sort text items into a selected order.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

Sort List orders delimiter-separated values alphabetically, numerically, by IP address, hexadecimal value, or length.

1 2 10 Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Select the delimiter and matching order mode.
  3. Enable Reverse only after confirming the normal order.
  4. Use numeric or hexadecimal mode when lexical order would mislead.

Example

Input: 10 2 1

Settings: Sort List: Use newline delimiter, Numeric order, and reverse off.

Result: 1 2 10

Limits

  • Sort List: The IP address mode supports IPv4 only.
  • Sort List: Sorting does not deduplicate or validate every value for the selected mode.
  • Sort List: The operation runs in the browser and does not need a network service.