RichMarkdown › Text tools › Sort lines

Sort lines

Sort a list alphabetically the way people expect: “item 2” before “item 10”, upper and lower case together. Or sort by number or length, reverse, or shuffle.

Runs in your browser. Your text is not uploaded or stored on a server.

How to use it

  1. Paste the list, one item per line.
  2. Choose how to sort.
  3. Copy the sorted list.

When it helps

Need to write and format, not just clean? The RichMarkdown editor turns rich text into Markdown and Word files.

More text tools

Clean up text

Words and case

Convert formats

Encode and decode

Questions

Why does “item 2” come before “item 10”?

Natural sorting compares numbers as numbers, not letter by letter. That is what file managers do, and what most people expect.

How is Chinese sorted?

On the Chinese page, by pinyin, like a dictionary.