Công cụ sắp xếp dòng

Sắp xếp nhanh danh sách đã dán theo thứ tự tự nhiên, số hoặc từ điển.

Loại bỏ dòng trống, khử trùng lặp và sắp xếp theo ngôn ngữ/khu vực đều chạy cục bộ trong trình duyệt.

Dữ liệu nhập của bạn ở lại trong trình duyệt

Cách sử dụng

  1. Dán danh sách của bạn vào ô bên trái, mỗi mục một dòng.
  2. Choose tự nhiên, số, or từ điển order and pick ascending or descending.
  3. Adjust ngôn ngữ/khu vực, blank-line removal, dedupe, or trimming if needed.
  4. Click Sort, then sao chép or tải xuống the kết quả.

Mẫus

Thứ tự tự nhiên (filenames)

Đầu vào

file10
file2
file1

Đầu ra

file1
file2
file10

Thứ tự số (`de-DE`)

Đầu vào

10,5
2,75
1.234,5

Đầu ra

2,75
10,5
1.234,5

Thứ tự từ điển (`sv`)

Đầu vào

Öga
Zebra
Äpple
Ål

Đầu ra

Zebra
Ål
Äpple
Öga

Thuật ngữ

Thứ tự tự nhiên

A human-friendly comparison mode that places `2` trước `10` instead of comparing digit strings literally.

Thứ tự từ điển

A lexical string comparison. The exact order depends on language and ngôn ngữ/khu vực rules.

Locale

The language and regional rules used for collation and số parsing, such as `ja`, `en`, `sv`, or `de-DE`.

FAQ

What is the difference between tự nhiên and từ điển order?

Thứ tự tự nhiên treats embedded numbers as numbers, so `file2` comes trước `file10`. Thứ tự từ điển compares text as text, which can place `file10` trước `file2`.

Can số order handle `1,234.56` and `1.234,56`?

Yes. The công cụ interprets decimal and grouping separators according to the selected ngôn ngữ/khu vực. If a line does not fit that ngôn ngữ/khu vực, it is handled as non-số according to your setting.

How should I choose a ngôn ngữ/khu vực?

Use `Tự động` in most cases. Switch to `Custom` only when you need another language's collation or số formatting rules, such as `sv` or `de-DE`.

How does trùng lặp removal work?

The default mode removes only exact matches. In advanced cài đặt you can switch to `Equal under current sắp xếp rules`, which can merge lines that compare the same under the active collation or số rules.

Is my data sent to a máy chủ?

No. Sorting happens entirely in the trình duyệt and your đầu vào is not sent to a máy chủ.

Can I use this with Japanese, Arabic, or European ngôn ngữ?

Yes. The UI is localized and sorting relies on `Intl.Collator` plus theo ngôn ngữ số parsing. The final order still depends on the selected ngôn ngữ/khu vực and the trình duyệt's implementation.

Lưu ý

  • Thứ tự số depends on the selected ngôn ngữ/khu vực for decimal and grouping ký hiệu. If the kết quả looks wrong, check the ngôn ngữ/khu vực first.
  • `Equal under current sắp xếp rules` can merge lines that look different if case, accents, or số formatting are treated as equivalent.
  • Only options can be stored locally. Đầu vào and đầu ra text are not saved.

Quyền riêng tư và lưu ý

This công cụ runs locally in the trình duyệt. Multilingual ordering can vary slightly depending on the selected ngôn ngữ/khu vực and trình duyệt engine.