↕️ Line Sorter

Sort lines ascending/descending with optional dedupe.

Lines


How it works

How it works

  • Sorts with a basic comparator; case‑insensitive mode lowercases both sides before comparing.
  • “Unique” filters duplicates first (optionally case‑insensitively) to ensure at most one of each key.
  • Purely lexicographic; if you need locale‑aware sorting, consider localeCompare.
Privacy & Security

Local only.

Accuracy, Limits & Tips

No numeric-aware sorting; purely lexicographic.

Examples
  • Dedupe + Asc to normalize config lists.

Related tools

Looking for broader guides and best practices? Visit the ToolsAreUs Blog for indexes (like the full tool list) and articles (e.g. secure password generation).