Features
- Paste multi-line text.
- One-click ascending or descending sort.
- Choose whether to ignore or respect leading/trailing spaces.
- Quick result copy supported.
Sort multi-line text by line…
Sorting rule: Intl.Collator('zh-Hans-CN', { numeric: true, sensitivity: 'base' }); case-insensitive for English letters, numeric comparison for digit segments (e.g., 2 comes before 10).
Leading/trailing spaces: ignored by default (trim); in respect mode, spaces participate in comparison and remain in the result. Empty lines after trim are dropped in ignore mode; only fully empty lines are dropped in respect mode.
No duplicate removal: This tool only adjusts line order; use the "Text Deduplicate" tool to remove duplicates.