Our Network


Coming Soon


Coming Later

List Sorter

World's Simplest List Tool

This is a super simple browser-based application that sorts items in a list and arranges them in increasing or decreasing order. You can sort the items alphabetically, numerically, or by their length. You can also remove duplicate and empty items, as well as trim individual items that have whitespace around them. You can use any separator character to separate the input list items or alternatively use a regular expression to separate them. Additionally, you can create a new delimiter for the sorted output list. Created by list geeks from team Browserling.

List Sorter

World's Simplest List Tool

This is a super simple browser-based application that sorts items in a list and arranges them in increasing or decreasing order. You can sort the items alphabetically, numerically, or by their length. You can also remove duplicate and empty items, as well as trim individual items that have whitespace around them. You can use any separator character to separate the input list items or alternatively use a regular expression to separate them. Additionally, you can create a new delimiter for the sorted output list. Created by list geeks from team Browserling.

Tool Options

Input Item Separator

Delimit input list items with a character.
Delimit input list items with a regular expression.
Set a delimiting symbol or regular expression.

Sort Method

Select a sorting method.
Select sorting order.
Sort uppercase and lowercase items separately. Capital letters precede lowercase letters in an ascending list. (Works only in alphabetical sorting mode.)

Sorted Item Properties

Use this symbol as a joiner between items in a sorted list.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.

What Is a List Sorter?

This online tool changes the order of all list items so that they are sorted. When it rearranges the items, they can go either in ascending or descending order. Since lists can contain anything, including letters and numbers, and items can have different lengths, you can switch between four sorting methods: alphabetical, numerical, sorting by length, and sorting by complexity. The alphabetical method rearranges all the items according to the positions of characters in the ASCII/Unicode table. If the "Case Sensitive Sort" option is enabled, then in the ascending sort order, all items that start with a capital letter will go first, and only then all lowercase letter items will follow. If you turn this option off, the program will consider uppercase and lowercase letters to be the same and will sort the items together, regardless of their case. The numerical method sorts numbers based on their magnitude. If there are also letters or characters when the numerical method is used, then they are sorted in alphanumerical order. The sorting by length method counts the number of characters in each item and puts them either from the shortest to longest item, or from the longest to shortest item. The sort-by-complexity method measures the entropy of each item in the list. The item's entropy is a measure of its randomness and predictability based on characters in it. For example, an item "aaaaa" is very predictable and its entropy is zero, but an item "hjKl4" isn't predictable at all and its entropy is infinite. Therefore, the sort-by-complexity method displays the list items in order from the simplest (most predictable) to the most complex (most random and unpredictable). You can switch between these sorting methods in the options as well as select the sort order of items there. Sometimes items in the list may contain whitespaces around them, so we also added an option to get rid of them and trim them. Additionally, you may remove duplicate and empty list items from the sorted list. When working with lists, they may have various formats (for example, comma-separated, bar-separated, tab-separated, or a single vertical column), so we made this program as generic as possible and it supports all possible list formats. When you load your list, you just have to tell this program how to split it into items. To do that, you just have to specify a list item delimiter character in the "Use a Symbol Separator" option or enter a regular expression that matches multiple delimiter variations in the "Use a Regex Separator" mode. Last but not least, you can specify a custom item delimiter for the output list. If you need to sort a list in random order, then you can use our Randomize a List tool. Also, coming soon, you'll be able to sort a list in a shape of a pyramid, inverse pyramid, or an hourglass. Listabulous!

What Is a List Sorter?

This online tool changes the order of all list items so that they are sorted. When it rearranges the items, they can go either in ascending or descending order. Since lists can contain anything, including letters and numbers, and items can have different lengths, you can switch between four sorting methods: alphabetical, numerical, sorting by length, and sorting by complexity. The alphabetical method rearranges all the items according to the positions of characters in the ASCII/Unicode table. If the "Case Sensitive Sort" option is enabled, then in the ascending sort order, all items that start with a capital letter will go first, and only then all lowercase letter items will follow. If you turn this option off, the program will consider uppercase and lowercase letters to be the same and will sort the items together, regardless of their case. The numerical method sorts numbers based on their magnitude. If there are also letters or characters when the numerical method is used, then they are sorted in alphanumerical order. The sorting by length method counts the number of characters in each item and puts them either from the shortest to longest item, or from the longest to shortest item. The sort-by-complexity method measures the entropy of each item in the list. The item's entropy is a measure of its randomness and predictability based on characters in it. For example, an item "aaaaa" is very predictable and its entropy is zero, but an item "hjKl4" isn't predictable at all and its entropy is infinite. Therefore, the sort-by-complexity method displays the list items in order from the simplest (most predictable) to the most complex (most random and unpredictable). You can switch between these sorting methods in the options as well as select the sort order of items there. Sometimes items in the list may contain whitespaces around them, so we also added an option to get rid of them and trim them. Additionally, you may remove duplicate and empty list items from the sorted list. When working with lists, they may have various formats (for example, comma-separated, bar-separated, tab-separated, or a single vertical column), so we made this program as generic as possible and it supports all possible list formats. When you load your list, you just have to tell this program how to split it into items. To do that, you just have to specify a list item delimiter character in the "Use a Symbol Separator" option or enter a regular expression that matches multiple delimiter variations in the "Use a Regex Separator" mode. Last but not least, you can specify a custom item delimiter for the output list. If you need to sort a list in random order, then you can use our Randomize a List tool. Also, coming soon, you'll be able to sort a list in a shape of a pyramid, inverse pyramid, or an hourglass. Listabulous!


List Sorter Examples

Click to try!
click me

Numeric List Sorting

In this example, we sort a list of perfect numbers in descending order. As all the input items are numbers, we choose the numerical sorting mode. This way, the program compares the numbers by their magnitude and puts them in order from the largest number to the smallest. Perfect numbers are listed in a column, so we separate them with a newline character, and we also use the same newline in the sorted list.

6 28 496 8128 33550336 8589869056 137438691328 2305843008139952128 2658455991569831744654692615953842176
2658455991569831744654692615953842176 2305843008139952128 137438691328 8589869056 33550336 8128 496 28 6
Required options
These options will be used automatically if you select this example.
Delimit input list items with a character.
Set a delimiting symbol or regular expression.
Select a sorting method.
Select sorting order.
Sort uppercase and lowercase items separately. Capital letters precede lowercase letters in an ascending list. (Works only in alphabetical sorting mode.)
Use this symbol as a joiner between items in a sorted list.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
click me

Sort Words Alphabetically

In this example, we sort all words in a tongue twister alphabetically. To define words as individual elements of the list, we match them by the regular expression "/ +/", which separates them by the whitespace characters. We select the ascending sorting order (from "a" to "z") and remove all duplicate words. As a result, we get a list of all unique words in alphabetical order that are then separated by em dashes.

give papa a cup of proper coffee in a copper coffee cup
a — coffee — copper — cup — give — in — of — papa — proper
Required options
These options will be used automatically if you select this example.
Delimit input list items with a regular expression.
Set a delimiting symbol or regular expression.
Select a sorting method.
Select sorting order.
Sort uppercase and lowercase items separately. Capital letters precede lowercase letters in an ascending list. (Works only in alphabetical sorting mode.)
Use this symbol as a joiner between items in a sorted list.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
click me

Sort a Car Price List

In this example, we rearrange the names of cars with their cost in alphabetic order. The list of cars has two columns that are separated by commas and semicolons. To find the items of the input list, we use the regular expression "/,|;/". This regular expression matches either a comma or a semicolon. We trim list items, remove empty elements, sort the car brands in ascending order, and return a much simpler and easier to read version price list.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Ford – $15000, Volvo – $18000; ;Tesla – $22000, BMW – $30000; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;VW – $23000, Toyota – $25000; ;KIA – $16000, Audi – $21000; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Audi – $21000 BMW – $30000 Ford – $15000 KIA – $16000 Tesla – $22000 Toyota – $25000 VW – $23000 Volvo – $18000
Required options
These options will be used automatically if you select this example.
Delimit input list items with a regular expression.
Set a delimiting symbol or regular expression.
Select a sorting method.
Select sorting order.
Sort uppercase and lowercase items separately. Capital letters precede lowercase letters in an ascending list. (Works only in alphabetical sorting mode.)
Use this symbol as a joiner between items in a sorted list.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
click me

Sort Rows of Pascal's Triangle

In this example, we load a data list that contains rows of binomial coefficients. Unfortunately, our cat walked across the keyboard and broke the order of the rows. To fix the problem, we treat the rows as list items, and to put the rows of Pascal's triangle back in the correct order, we sort the list by the length of items. We select the ascending sort order and get the correct triangle with one number at the vertex and 10 numbers at the base.

1 5 10 10 5 1 1 6 15 20 15 6 1 1 1 9 36 84 126 126 84 36 9 1 1 2 1 1 8 28 56 70 56 28 8 1 1 3 3 1 1 1 1 7 21 35 35 21 7 1 1 4 6 4 1
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 20 15 6 1 1 7 21 35 35 21 7 1 1 8 28 56 70 56 28 8 1 1 9 36 84 126 126 84 36 9 1
Required options
These options will be used automatically if you select this example.
Delimit input list items with a character.
Set a delimiting symbol or regular expression.
Select a sorting method.
Select sorting order.
Sort uppercase and lowercase items separately. Capital letters precede lowercase letters in an ascending list. (Works only in alphabetical sorting mode.)
Use this symbol as a joiner between items in a sorted list.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
click me

Sort a List of Phenomena by Length

In this example, we sort a list of natural phenomena by the length of its items. We display the list in descending order, which means that the longest words come first and the shortest ones at the end. We split the input list by the comma character and put a newline as a delimiter in the output.

Thunder, Lightning, Wind, Vortex, Rain, Rainbow, Cloud, Freezing, Snow, Hail, Aurora
Lightning Freezing Rainbow Thunder Aurora Vortex Cloud Hail Snow Rain Wind
Required options
These options will be used automatically if you select this example.
Delimit input list items with a character.
Set a delimiting symbol or regular expression.
Select a sorting method.
Select sorting order.
Sort uppercase and lowercase items separately. Capital letters precede lowercase letters in an ascending list. (Works only in alphabetical sorting mode.)
Use this symbol as a joiner between items in a sorted list.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
click me

Sort Phone Numbers by Complexity

In this example, we want to pick an easy-to-remember phone number for our customer support line. To do this, we load a list of phone numbers that are available as the input and set the sorting method to be by item complexity. The program measures how random the digits in each phone number are and displays the simplest phones at the top of the sorted list, followed by numbers that are hard to remember.

+1 505-423-7866 +1 223-590-5555 +1 541-782-3609 +1 505-105-0105 +1 505-277-0025 +1 320-003-0002 +1 505-403-7384 +1 505-505-5050 +1 301-931-5346 +1 500-000-0000 +1 223-627-8639
+1 500-000-0000 +1 505-505-5050 +1 505-105-0105 +1 320-003-0002 +1 223-590-5555 +1 505-277-0025 +1 301-931-5346 +1 223-627-8639 +1 505-403-7384 +1 505-423-7866 +1 541-782-3609
Required options
These options will be used automatically if you select this example.
Delimit input list items with a character.
Set a delimiting symbol or regular expression.
Select a sorting method.
Select sorting order.
Sort uppercase and lowercase items separately. Capital letters precede lowercase letters in an ascending list. (Works only in alphabetical sorting mode.)
Use this symbol as a joiner between items in a sorted list.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
click me

Case-sensitive Alphabetical Sorting

In this example, we sort a list of items alphabetically using the "Case-sensitive Sort" mode. If you look closely, our list consists of two parts: celestial bodies (which have a capitalized letter format) and from places on the Earth (which use a small letter format). Once the case-sensitive option is turned on, items with uppercase letters and lowercase letters are sorted separately and in the output, we see all celestial bodies at the beginning of the list and only then follow the locations on the globe.

Sun Moons Meteor Earth Heliosphere country city continent region village
Earth Heliosphere Meteor Moons Sun city continent country region village
Required options
These options will be used automatically if you select this example.
Delimit input list items with a character.
Set a delimiting symbol or regular expression.
Select a sorting method.
Select sorting order.
Sort uppercase and lowercase items separately. Capital letters precede lowercase letters in an ascending list. (Works only in alphabetical sorting mode.)
Use this symbol as a joiner between items in a sorted list.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.

Pro tips Master online list tools

You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!

https://onlinetools.com/list/sort-list?input=6%0A28%0A496%0A8128%0A33550336%0A8589869056%0A137438691328%0A2305843008139952128%0A2658455991569831744654692615953842176&string-separator=true&input-separator=%255Cn&sort-method=numerically&sort-order=decreasing&remove-duplicates=false&remove-empty-items=false&trim-items=false&join-character=%255Cn&case-sensitive=true

All List Tools

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly print all distinct items of a list.
Quickly print all repeating items of a list.
Quickly count the number of items in a list.
Quickly display list items in multiple colors.
Quickly generate a list of arbitrary length with arbitrary items.
Quickly generate a random length list with random items.
Quickly find certain items in a list.
Quickly find how many times each item appears in the list.
Quickly replace certain items in a list with new items.
Quickly remove items from a list that match a pattern.
Quickly print all list items in reverse order.
Quickly sort list items alphabetically or numerically.
Quickly shuffle list items and make it random.
Quickly randomly pick one or more items from a list.
Quickly create a downloadable image from a list.
Quickly set a new delimiter for items in a list.
Quickly remove the symbol that separates list items.
Quickly change list item delimiters to the same symbol.
Quickly remove items from the beginning or end of a list.
Quickly join all items of a list together.
Quickly create groups of multiple list items.
Quickly extract a part of a list.
Quickly remove all empty items from a list.
Quickly remove whitespace characters around list items.
Quickly create multiple copies of a list.
Quickly rotate list items to the left or right (or up and down).
Quickly enumerate list items and add a counter to them.
Quickly add bullet markers to all items in a list.
Quickly remove all bullet markers from list items.
Quickly wrap all list items in quotes.
Quickly remove all quotation marks from around list items.
Quickly add text on the left and right sides of all list items.
Quickly remove text from the left and right sides of all list items.
Quickly prepend a prefix before each list item.
Quickly delete any prefix from the beginning of all list items.
Quickly append a suffix after each list item.
Quickly delete any suffix from the end of all list items.
Quickly add or remove list items to make it a certain length.
Quickly create multiple columns from a single list.
Quickly create a palindromic list from the given list.
Quickly add new items at the beginning or end of a list.
Quickly left-pad a list with one or more items.
Quickly right-pad a list with one or more items.
Quickly remove items that repeat in a list.
Quickly apply a filter on all list items (extract certain items).
Quickly analyze a list and print its item statistics.

Coming Soon

These list tools are on the way!
Edit a List

View and edit lists in a neat browser-based list editor.

Split a List

Split list items into chunks.

Generate the Powerlist

Create the powerlist of the given list.

Find the Car of a List

Extract the first item from a list.

Find the Cdr of a List

Extract all items except the first of a list.

Apply a Function on a List

Run a JavaScript function on every list item (map function).

Reduce a List

Run the reduce function on a list.

Find Certain List Items

Quickly find and print items that interest you in a list.

Find Repeating List Items

Quickly find and print items that repeat in a list.

Delete Unique List Items

Quickly find and remove items that are unique in a list.

Extract a Sublist from a List

Given start and stop indexes, extract a sublist from a list.

Shift List Items

Shift list items to the left or right (or up and down).

Indent List Items

Add indentation to all list items.

Skew List Items

Make a list go increasingly sideways (to the left or right).

Mirror a List

Quickly create a mirror copy of a list.

Invert a List

Invert the order of items in a list (last becomes first, etc).

Convert a List to Rows

Create multiple rows from a single list.

Convert a List to Excel

Create an Excel (XLS/XLSX) file from a list.

Convert a List to PDF

Create a PDF file from a list.

Convert a Text List to a LaTeX List

Create a LaTeX list from a regular text list.

Convert a Text List to a HTML List

Create a HTML list from a regular text list.

Convert a Text List to a Markdown List

Create a Markdown list from a regular text list.

Compare Two Lists

Find the difference between two lists.

Compare Three Lists

Find the difference between three lists.

Remove One List from Another

Remove elements from a list that appear in the other list.

Find Common Items in Lists

Find items that are shared between two or more lists.

Find Distinct Items in Lists

Find items that are unique in two or more lists.

Zip Two Lists

Join two or more lists together item by item.

Unzip Two Lists

Split an interleaved list into two or more separate lists.

Merge Two Lists

Append a second list at the end of the first list.

Pair List Items

Create pairs from all list items.

Pop List Items

Remove list items at certain index positions.

Push List Items

Add new items at the end of a list.

Splice a List

Modify a list in-place by adding, replacing, or removing items.

Flatten a List

Remove all indentation levels from a list and make it flat.

Make List Items Bold

Quickly apply the bold effect to all list items.

Make List Items Italic

Quickly apply the italic effect to all list items.

Make List Items Cursive

Quickly rewrite all list items in cursive.

Change List Item Font

Quickly change the font of all list items.

Add an Underscore to List Items

Quickly add an underscore to all list items.

Add a Strikethrough to List Items

Quickly add a strikethrough to all list items.

Make List Items Title Case

Quickly change the letter case of all items to title case.

Make List Items Proper Case

Quickly change the letter case of all items to proper case.

Make List Items Random Case

Quickly randomly change the letter case of all items.

Make List Items Lowercase

Quickly change the letter case of all items to small letters.

Make List Items Uppercase

Quickly change the letter case of all items to capital letters.

Remove List Item Counter

Quickly remove any numeration from a list of items.

Create an Empty List

Generate a list with no items (just bullet points).

Visualize a List

Quickly create a graphical representation of a list.

Create a List Cloud

Create an image with a cloud of list items.

Create a Spiral List

Create an image with list items going in a spiral.

Create a ZigZag List

Make list items go in a zigzag.

Add Errors to a List

Add errors and corruption to a list.

Base64-encode a List

Convert any list to base64 encoding.

Base64-decode a List

Convert any list from base64 encoding back to a list.

URL-encode a List

Convert any list to URL encoding.

URL-decode a List

Convert any list from URL encoding back to a list.

Convert a List to JSON

Create a JSON array from a list.

Convert JSON to a List

Create a list from a JSON array.

Convert a List to XML

Create an XML document from a list.

Convert XML to a List

Create a list from an XML document.

Convert a List to YAML

Create a YAML file from a list.

Convert YAML to a List

Create a list from a YAML file.

Convert a Text List to a Binary List

Create a binary list from a text list.

Convert a Binary List to a Text List

Create a text list from a binary list.

Compress a List

Compress a list so it uses less space.

Scroll a List

Create an animation with a list being scrolled.

Let Zalgo Destroy a List

Let Zalgo loose on a list and create list-chaos.


Subscribe!

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋

Created with love by

We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling our mission is to make people's lives easier, so we created this collection of online list tools. Our tools are focused on getting things done quickly and as soon as you load your list in the input of any of our tools, you'll instantly get the result. Our list tools are actually powered by our web developer tools that we created over the last couple of years. Check them out!

49K
@browserling

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!