📊Text Sorter
Sort lines of text
How to Use
The Text Sorter supports ascending, descending, random, and reverse sorting of text lines. Options include alphabetical, numerical, or line length sorting with blank line removal. Ideal for data organization.
FAQ
How is Chinese text ordered?
Alphabetical mode uses Intl.Collator with the zh-Hans-CN collation, so Chinese lines sort by pinyin (a→z) on every device regardless of the system locale.
Can I sort by numeric value?
Yes, select numeric sort mode to arrange by actual values rather than string dictionary order.
Which sort modes are available?
Four: alphabetical, numeric, line length, and random shuffle — each with ascending or descending order. Numeric mode extracts leading numbers; non-numeric lines count as zero.
How are mixed Chinese and English lines ordered?
One collator compares character by character: English by alphabet and Chinese by pinyin, interleaved by where each first character falls — English is not pushed to the top or bottom as a block.
Related Tools
- Signature MakerDraw a handwritten signature online free: smooth pressure-sensitive strokes and transparent PNG export, ready to drop into contracts, documents or emails
- PDF Merge & SplitMerge or split PDF files online. No upload needed, processed locally for privacy
- Video to GIFConvert video clips to animated GIFs with custom size, FPS and speed
- Image CropperCrop images online with free/1:1/4:3/16:9 ratios, draggable selection with rule-of-thirds guides, fully local