📑

行排序

按字母顺序排序文本行

嵌入此工具

× px

🔥 热门工具

没有更多工具
探索所有工具

ℹ️ 关于 Sort Lines

Sort lines alphabetically or numerically. Organize text, lists, and data in ascending or descending order. Options for case sensitivity and natural sorting.

💡 使用场景

Alphabetizing lists and names
Sorting data for analysis
Organizing todo items
Arranging code imports
Ordering numbered lists correctly

📋 使用方法

1

Paste your lines of text

2

Select sort order (A-Z or Z-A)

3

Choose alphabetic or numeric sorting

4

View and copy the sorted result

💎 Pro Tips

  • Numeric sort treats "2" as less than "10" (natural sorting)
  • Alphabetic sort puts "10" before "2" (string order)
  • Remove duplicates before or after sorting

Frequently Asked Questions

Natural sorting handles numbers intelligently: 1, 2, 10, 20 instead of 1, 10, 2, 20.

By default yes, but you can enable case-insensitive sorting.

This tool sorts by entire lines. Use spreadsheet tools for column sorting.