Text Tool

Sort Unique Lines Z to A

Sort Unique Lines Z to A helps clean or transform pasted text quickly in the browser. Use it online on EasyTools99.

Tool area

Everything runs in the browser.

Reference results

InputResult
Lyon Paris Lille ParisParis Lyon Lille
beta Alpha alpha Beta"Beta\nbeta\nAlpha\n alpha "
SKU-2 SKU-10 SKU-1SKU-2 SKU-10 SKU-1

How it works

The tool sorts lines in descending order and removes exact duplicates. Case and whitespace variants can remain distinct. Digits within an item code are compared as text.

Worked examples

  1. An organizer sorts a city list and checks that the repeated Paris row disappeared.

    Input: Lyon Paris Lille Paris

    Result: Paris Lyon Lille

  2. An editor spots variants of Alpha with extra spaces and picks a spelling before sorting again.

    Input: beta Alpha alpha Beta

    Result: "Beta\nbeta\nAlpha\n alpha "

  3. A clerk tests SKUs with numeric suffixes and chooses a numerical sort when the order of the numbers matters.

    Input: SKU-2 SKU-10 SKU-1

    Result: SKU-2 SKU-10 SKU-1

Common mistakes

  • Trim edges first if spaces should be ignored.
  • Decide whether case should be normalized.
  • Extract the numeric portion if you need a numerical sort.

FAQ

Does it merge Beta and beta?

Both remain because the lines differ in case.

Why can SKU-10 follow SKU-2?

It compares characters rather than the numerical value.

Do I need to presort the lines?

The tool sorts them and removes exact repeats in one step.

Related tools

Browse all text tools

Related guides

Previous tool Sort Unique Lines A to Z