Line Sort & Shuffle Tool

Process text lines with four operations: deduplicate, sort ascending, sort descending, or shuffle. Japanese locale-aware sorting included.

0 lines
0 lines

How to Use

  1. STEP 1
    Enter or paste text with one item per line.
  2. STEP 2
    Choose an operation: Deduplicate, Sort A→Z, Sort Z→A, or Shuffle.
  3. STEP 3
    Copy the result and use it.
  • Deduplication is case-sensitive.
  • Sorting uses Unicode collation order (Japanese 50-on order for Japanese text).

Tips

1

Great for cleaning up CSV lists or deduplicating tag lists.

2

Enable 'Also remove duplicates' to auto-deduplicate when sorting or shuffling.

3

Combine with the Lucky Draw tool: shuffle then pick the top line.

FAQ

  • Q1

    Are blank lines counted as lines?

    Yes. Blank lines count as one line each. Use Deduplicate to remove consecutive blank lines.

  • Q2

    Is the shuffle truly random each time?

    Yes. Each shuffle produces a different random order.

  • Q3

    Can I sort numbers numerically?

    Lines are sorted as strings, so numbers sort lexicographically (1, 10, 2, ...). For numeric sort, pre-pad numbers with zeros.

Related Articles

Related Tools