如何把列表按 A 到 Z 排序
要點
- 貼上
- 選擇排序方式
- 複製
You want to sort a roster or keyword list into Japanese or alphabetical order. "Sort" in Remove Duplicate Lines and Sort a List tidies it all at once.
步驟
- Paste the list into "Before tidying (one per line)".
- Choose from "Sort".
- "Do not sort": keep the original order
- "A–Z / Japanese order": gojūon order, alphabetical order
- "Reverse order": reverse the order of lines
- "Shortest first": from lines with fewer characters
- If needed, also choose the option to remove duplicates.
- Check "After tidying" and copy with "Copy result".
Kanji are ordered by character code, not by reading. To order a roster by reading, put the reading at the start of each line and sort.
Ordering rules
- Hiragana and katakana: gojūon order
- Letters: alphabetical
- Digits: ordered as characters ("10" comes before "2")
- Kanji: character code order (not reading order)
Watch the order of numbers
"1, 2, 10" ordered as characters becomes "1, 10, 2". To order as numbers, align the digits, entering like "01, 02, 10".
Uses of "Shortest first"
- Finding overly long lines
- Checking from fewer characters
- Aligning the length of item names
Uses of "Reverse order"
- Turning a newest-first history into oldest-first
- Flipping the order
示例
Pasted participants' names with readings attached and sorted them in gojūon order. After sorting, deleted just the reading part.
Common stumbling blocks
- Kanji do not order as expected: use readings.
- Upper and lower case mix: ordering may vary by environment.
- Empty lines come first: choose "Remove empty lines".
Frequently asked questions
Can I sort while removing duplicates?
Yes. Choose both options.
小結
Choose the sort and copy. For kanji use readings, and for numbers align the digits.
使用「刪除重複行並排序」(免費)搭配使用的工具
- 刪除和整理文字中的換行:整理從 PDF 等處複製的文字中的換行。
- 文字數統計(用於求職申請表和報告):統計文字的字數、行數和稿紙張數。
- 全形、半形、平假名、片假名互相轉換:全形與半形、平假名與片假名互相轉換。