Skip to content

格式化与代码

文本行排序

免费的文本行排序器。按字母、长度、数字或反序对文本行进行排序。可选择区分大小写。在浏览器中运行。

Runs in your browser
Input lines · source
lines: 0chars: 0size: 0 B
Sorted · result
lines: 0chars: 0size: 0 B
live

编辑注

Understanding · Sorting strings is harder than sorting numbers.

本深度章节目前仅有英文版本。上方的转换工具支持您的语言;长篇说明文章尚未翻译。

常见问题

Quick answers.

Can I sort numerically?

Yes — numeric mode sorts '2' before '10' (unlike alphabetical, which puts '10' first as a string).

Is sorting case-sensitive?

Toggle as needed. Case-insensitive by default — 'Apple' and 'apple' sort together.

Does it remove duplicates too?

No — use our Remove Duplicates tool for that. Sorting preserves all lines.

Is my text uploaded?

No — sorting runs entirely in your browser.

Is the sorter free?

Yes — fully free, no signup.

大家也在搜索

相关工具

More in this room.

查看所有 格式化与代码