Skip to content
UniKit

Custom list sort

Sort a text list by a user-provided order while keeping unknown items at the end.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

List to sort

Result

Processed text result.

Enter text to see the result

Ordered: 0 · Unknown: 0

What this tool does

  • Reorder the list in the first box according to the custom order given in the second box (one item per line).
  • Items that are not in the order list are placed after the ranked ones, keeping their original relative order.
  • Turn off "case sensitive" to match ignoring case, or check "descending" to reverse the whole order.

Example

Input

b
a

Output

a
b

The second box holds the custom order, one item per line (a, b and c on separate lines in the example); entries missing from the order list go last.

Frequently asked questions

Does it use the network?

No, all calculations run locally in the browser.

Does it access real files?

No, it only processes text entered in the form.

What happens for invalid input?

The tool validates it strictly and reports an error.

Keywords:Custom list sortcustom-sorttextlist

Related tools