Home Sort lines
Sort lines
Hangul comes first, 10 follows 2, and IP addresses rise by their numeric value.
Lines in 0 Lines out 0 Duplicates removed 0
Why this exists
Names and addresses, one on each line, rise by Hangul order and by IP value.
If the same name was pasted twice, drop duplicates keeps the first line.
-
01How to use it
Paste one item on each line, or press Example.
Choose ascending or descending, drop duplicates, and trim.
Press Copy and the sorted lines go to the clipboard.
-
02What you get
In the example, 10.0.0.2 sits above 10.0.0.10.
With drop duplicates on, 김철수 remains once and duplicates removed is 1.
EnteredNames and addresses
IP 10.0.0.2 first Items 항목2 before 항목10 Duplicate 김철수 once Descending IP at the bottom -
03Worth knowing
Descending builds the ascending order and then reverses the whole list.
The comparison is ko-KR dictionary order with natural numbers. apple comes before Apple.
A duplicate is judged in NFC, and the kept line is the trimmed original.
A file over 5MB is not read.
Questions
- Q10 came before 2.
- ANumbers compare by value, so 항목2 comes before 항목10. That differs from plain string order.
- QIP addresses mixed with words.
- AIPv4 and IPv6 come before ordinary text, and in descending order they sit at the bottom.
- QWhat about capitals?
- AApple and apple are different lines. apple comes first.
- QIs it saved?
- AIt is not saved. Sorting stays in this tab.