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
| Input | Result |
|---|---|
Lyon
Paris
Lille
Paris | Paris
Lyon
Lille |
beta
Alpha
alpha
Beta | "Beta\nbeta\nAlpha\n alpha " |
SKU-2
SKU-10
SKU-1 | SKU-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
An organizer sorts a city list and checks that the repeated Paris row disappeared.
Input:
Lyon Paris Lille ParisResult:
Paris Lyon LilleAn editor spots variants of Alpha with extra spaces and picks a spelling before sorting again.
Input:
beta Alpha alpha BetaResult:
"Beta\nbeta\nAlpha\n alpha "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-1Result:
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.
