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.
Check out our primary project! Browserling
We created Browserling – get a cloud browser in 5 seconds. Check it out!
A link to this tool, including input, options and all chained tools.
Import from file
Save as...
Copy to clipboard
Download
Export to Pastebin
Can't convert.
An error has occured.
Chain with...
Remove chain
Save as...
Copy to clipboard
Download
Export to Pastebin
Remove no tools?
This tool cannot be chained.
Input Item Separator
Delimit input list itemswith a character.
Delimit input list itemswith a regular expression.
Set a delimiting symbol orregular expression.
Sort Method
Select a sorting method.
Select sorting order.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
Sorted Item Separator
Use this symbol as a joinerbetween items in a sorted list.
List sorter tool 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 three sorting methods: alphabetical, numerical, and sorting by length. The alphabetical method rearranges all the items according to the positions of characters in the ASCII/Unicode table. 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. 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. Listabulous!
List sorter examples Click to use
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.
628496812833550336858986905613743869132823058430081399521282658455991569831744654692615953842176
265845599156983174465469261595384217623058430081399521281374386913288589869056335503368128496286
Required options
These options will be used automatically if you select this example.
Delimit input list itemswith a character.
Set a delimiting symbol orregular expression.
Select a sorting method.
Select sorting order.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
Use this symbol as a joinerbetween items in a sorted list.
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 itemswith a regular expression.
Set a delimiting symbol orregular expression.
Select a sorting method.
Select sorting order.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
Use this symbol as a joinerbetween items in a sorted list.
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 – $21000BMW – $30000Ford – $15000KIA – $16000Tesla – $22000Toyota – $25000VW – $23000Volvo – $18000
Required options
These options will be used automatically if you select this example.
Delimit input list itemswith a regular expression.
Set a delimiting symbol orregular expression.
Select a sorting method.
Select sorting order.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
Use this symbol as a joinerbetween items in a sorted list.
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 11 6 15 20 15 6 111 9 36 84 126 126 84 36 9 11 2 11 8 28 56 70 56 28 8 11 3 3 11 11 7 21 35 35 21 7 11 4 6 4 1
11 11 2 11 3 3 11 4 6 4 11 5 10 10 5 11 6 15 20 15 6 11 7 21 35 35 21 7 11 8 28 56 70 56 28 8 11 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 itemswith a character.
Set a delimiting symbol orregular expression.
Select a sorting method.
Select sorting order.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
Use this symbol as a joinerbetween items in a sorted list.
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
LightningFreezingRainbowThunderAuroraVortexCloudHailSnowRainWind
Required options
These options will be used automatically if you select this example.
Delimit input list itemswith a character.
Set a delimiting symbol orregular expression.
Select a sorting method.
Select sorting order.
Delete duplicate list items.
Delete no-character list items.
Remove spaces around items.
Use this symbol as a joinerbetween items in a sorted list.
Pro tips Master online list tools
You can pass input to this tool via
?inputquery argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinelisttools.com/sort-list
?input=6%0A28%0A496%0A8128%0A33550336%0A8589869056%0A137438691328%0A2305843008139952128%0A2658455991569831744654692615953842176&string-separator=true&input-separator=%5Cn&sort-method=numerically&sort-order=decreasing&remove-duplicates=false&remove-empty-items=false&trim-items=false&join-character=%5Cn
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!
Find Unique List Items
Quickly print all distinct items of a list.
Find Duplicate List Items
Quickly print all repeating items of a list.
Find the Length of a List
Quickly count the number of items in a list.
Color List Items
Quickly display list items in multiple colors.
Create a Custom List
Quickly generate a list of arbitrary length with arbitrary items.
Create a Random List
Quickly generate a random length list with random items.
Find List Items
Quickly find certain items in a list.
Replace List Items
Quickly replace certain items in a list with new items.
Delete List Items
Quickly remove items from a list that match a pattern.
Reverse a List
Quickly print all list items in reverse order.
Sort a List
Quickly sort list items alphabetically or numerically.
Randomize a List
Quickly shuffle list items and make it random.
Randomly Select a List Item
Quickly randomly pick one or more items from a list.
Convert a List to an Image
Quickly create a downloadable image from a list.
Change List Item Separator
Quickly set a new delimiter for items in a list.
Delete List Item Separators
Quickly remove the symbol that separates list items.
Normalize List Item Separators
Quickly change list item delimiters to the same symbol.
Truncate a List
Quickly remove items from the beginning or end of a list.
Join List Items
Quickly join all items of a list together.
Group List Items
Quickly create groups of multiple list items.
Slice a List
Quickly extract a part of a list.
Delete Empty List Items
Quickly remove all empty items from a list.
Trim List Items
Quickly remove whitespace characters around list items.
Duplicate a List
Quickly create multiple copies of a list.
Rotate a List
Quickly rotate list items to the left or right (or up and down).
Add a List Item Counter
Quickly enumerate list items and add a counter to them.
Add List Item Bullets
Quickly add bullet markers to all items in a list.
Remove List Item Bullets
Quickly remove all bullet markers from list items.
Quote List Items
Quickly wrap all list items in quotes.
Unquote List Items
Quickly remove all quotation marks from around list items.
Wrap Text Around Items
Quickly add text on the left and right sides of all list items.
Unwrap Items From Text
Quickly remove text from the left and right sides of all list items.
Add a List Item Prefix
Quickly prepend a prefix before each list item.
Remove a List Item Prefix
Quickly delete any prefix from the beginning of all list items.
Add a List Item Suffix
Quickly append a suffix after each list item.
Remove a List Item Suffix
Quickly delete any suffix from the end of all list items.
Change the Length of a List
Quickly add or remove list items to make it a certain length.
Convert a List to Columns
Quickly create multiple columns from a single list.
Create a Symmetric List
Quickly create a palindromic list from the given list.
Append Items to a List
Quickly add new items at the beginning or end of a list.
Left-pad a List
Quickly left-pad a list with one or more items.
Right-pad a List
Quickly right-pad a list with one or more items.
Delete Repeating List Items
Quickly remove items that repeat in a list.
Filter a List
Quickly apply a filter on all list items (extract certain items).
Print List Statistics
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.
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.
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).
Reduce a List
Run the reduce function on a list.
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 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 the Empty List
Generate a list with no items.
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.
Let Zalgo Destroy a List
Let Zalgo loose on a list and create list-chaos.
FAQs
Is there a program that will alphabetize a list? ›
The Alphabetizer is a free tool to alphabetize lists. Use it to sort any list of text online, using your computer or mobile device.
Which list method is used to sort a list? ›The list. sort() method sorts the elements of a list in ascending or descending order using the default < comparisons operator between items.
How do I sort a list in AZ? ›- Select the list you want to sort.
- Go to Home > Sort.
- Set Sort by to Paragraphs and Text.
- Choose Ascending (A to Z) or Descending (Z to A).
- Select OK.
But since it has the upper hand in the average cases for most inputs, Quicksort is generally considered the “fastest” sorting algorithm.
What is the most efficient way to sort a list? ›Quicksort. Quicksort is one of the most efficient sorting algorithms, and this makes of it one of the most used as well. The first thing to do is to select a pivot number, this number will separate the data, on its left are the numbers smaller than it and the greater numbers on the right.
What are the four ways to sort a list of files? ›- Name: Orders files alphabetically by filename.
- Last modified: Orders files by the last time anyone changed a file.
- Last modified by me: Orders by the last time you changed a file.
- Last opened by me: Orders by the last time you opened a file.
Sorting Basics
You can also use the list.sort() method. It modifies the list in-place (and returns None to avoid confusion).
sort() Method. An ArrayList can be sorted by using the sort() method of the Collections class in Java. It accepts an object of ArrayList as a parameter to be sort and returns an ArrayList sorted in the ascending order according to the natural ordering of its elements. Syntax.
How do you use a list to organize data sorting and filtering data in list? ›If you create your own custom list, you can specify the values you want to sort by, in the order you want to sort them. To sort data in Excel: Select a cell in the column you want to sort. In the Data tab, go to the Sort & Filter group.
How do I sort items in ListView? ›Click the various column headers in the ListView control. When you click the header, the contents of the ListView control are sorted in ascending order based on the column that you click. When you click the same column header again, that column is sorted in descending order.
How do I manually sort a list? ›
- Create an empty list to hold the ordered elements.
- While there are still elements in the unordered list. Set a variable, lowest, to the first element in the unordered list. For each element in the unordered list. If the element is lower than lowest. ...
- Print out the ordered list.
- $(function() {
- // choose target dropdown.
- var select = $('select');
- select. html(select. find('option'). sort(function(x, y) {
- // to change to descending order switch "<" for ">"
- return $(x). text() > $(y). text() ? 1 : -1;
- }));
The list. sort() method key parameter is set to lambda. The arguement x is the iterable element ( tuple ) to be sorted by the second element, the number. The lambda expression sorts the list by the second element of the tuple value and updates the original.
What is ascii sorting? ›When you select information for sorting, it is important to understand how characters are evaluated by the system. The ASCII (American Standard Code for Information Interchange) guidelines are followed. This means internationally accepted standards for character values are used when determining sort order.
Which is the easiest sorting method to use? ›Bubble Sort
It is the easiest and simplest of all the sorting algorithms.
Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in the wrong order.
Which sorting is best for large data? ›We can use Bubble Sort as per the below constraints: It works well with large datasets where the items are almost sorted because it takes only one iteration to detect whether the list is sorted or not.
Is Tim sort better than Quicksort? ›TimSort is a highly optimized mergesort, it is stable and faster than old mergesort. when comparing with quicksort, it has two advantages: It is unbelievably fast for nearly sorted data sequence (including reverse sorted data); The worst case is still O(N*LOG(N)).
What is the most inefficient sorting algorithm? ›Definition of Bogosort. The universally-acclaimed worst sorting algorithm is Bogosort, sometimes called Monkey Sort or Random Sort, for reasons we'll see shortly. Bogosort develops from the idea that, in probability theory, if a certain phenomenon is possible, then it will eventually happen.
How do you sort a list without modifying it? ›To get a copy of the sorted list without modifying the original list, you can use the sorted(list) function, which returns a new sorted list. To sort the list in reverse order, you can use the reverse parameter for the list. sort(reverse=True) method.
What are the two different methods for sorting? ›
Sorting is the processing of arranging the data in ascending and descending order. There are several types of sorting in data structures namely – bubble sort, insertion sort, selection sort, bucket sort, heap sort, quick sort, radix sort etc.
What are the 5 steps to organize a filing system? ›- Determine Which Paper Documents You Must Keep. ...
- Shred Sensitive Documents. ...
- Expand Your Filing Area. ...
- Adjust Your Methods for Organizing Files. ...
- Communicate Your System to Others.
We can sort the LinkedList by many sorting techniques:
Bubble sort. Insertion sort. Quick sort. Merge sort.
Approach: An ArrayList can be Sorted by using the sort() method of the Collections Class in Java. This sort() method takes the collection to be sorted as the parameter and returns a Collection sorted in the Ascending Order by default.
How do I automatically sort a list in sharepoint? ›- Select the Library tab, and then select Create view.
- On the create or edit a view page, scroll down to Sort. ...
- Select Show the items in ascending order or Show the items in descending order.
- Scroll to the top or bottom of the page and select OK.
sort and ArrayList has a specialised version that sorts the backing array directly, saving a copy. So bottom line is ArrayList is better as it gives a similar or better performance depending on the version of Java. Save this answer.
What is the disadvantage of ArrayList? ›If a data entry is added to or removed from an array-based list, data needs to be shifted to update the list. In the worst case, for an array-based list with n data entries, an add and a remove takes O(n) time. Also, all data in the array-based list must be stored sequentially in memory.
Why would you use Sortby instead of sort? ›In contrast to the SORT function, the SORTBY function allows users to sort data at multiple levels. You can define multiple arrays and sort orders within the same formula to have your data organized at multiple levels.
What is the difference between sorting a list and filtering a list? ›You sort data to quickly organize your data and to find the data that you want. You filter data to display only the rows that meet criteria that you specify and hide rows that you do not want displayed, for one or more columns of data.
What is the difference between data sorting and data filtering? ›Essentially, sorting and filtering are tools that let you organize your data. When you sort data, you are putting it in order. Filtering data lets you hide unimportant data and focus only on the data you're interested in.
How do you make a list dynamic? ›
- Open the Lists page. In Account Engagement, select Marketing | Segmentation | Lists. ...
- Click + Add List.
- Name the list.
- Select other options as needed. ...
- Select Dynamic List.
- Click Set Rules.
- Select a match type. ...
- To add individual criteria, click + Add new rule.
Google Docs doesn't have an alphabetizing feature, which is why you can install an add-on for this task. You can find the "Add-ons" tab in the top-left corner of your screen in your Google Doc, next to the Tools tab.
How can I quickly and easily alphabetize my references list? ›- Select all of the references on your page (do not select the heading on the page: References)
- On the Home tab, in the Paragraph group, click the Sort icon.
- In the Sort Text dialog box, under Sort by, click Paragraphs and Text, and then click either Ascending.
- Select a cell in the column you want to sort.
- On the Data tab, in the Sort & Filter group, do one of the following: To quick sort in ascending order, click. (Sort A to Z). To quick sort in descending order, click. (Sort Z to A).
alphabetize names by comparing the first unit letter by letter. If the first letters are the same, file in terms of the second letter, and so on. Names of individuals are filed as follows: last name, first name or initial, middle name or initial. Smith Smith K.
Is there a way to automatically alphabetize in pages? ›- Tap the table, then tap the column letter above the column containing the data by which you want to sort.
- Tap Sort, then tap one of the following: Sort Ascending: Sort the data, either in alphabetical order (A to Z) or by increasing numerical values.
- Select the column you want to sort alphabetically.
- Open the Data menu and select Sort sheet.
- Choose the sorting order you want. For example, for alphabetical order, select Sort sheet by column A (A-Z). You can also sort in reverse alphabetical order.
At the top, right-click the letter of the column you want to sort by. Click Sort sheet A to Z or Sort sheet Z to A.
How do you Alpha Order in Google Docs? ›- Highlight the paragraphs to be sorted.
- Click "Add-ons."
- Click "Sorted Paragraphs" from the dropdown menu, then select "Sort A to Z" or "Sort Z to A."
Radix sort is the method that many people begin to use when alphabetizing a large list of name or numeric number. Specifically , The list of names is first sorted according to the first letter of each name.
How do you arrange references automatically? ›
...
Easy step on how to arrange References in alphabetical order
- Highlight the entire reference text.
- HOLD and PRESS Alt+A+S key. This brings out the SORT TEXT automatically.
- PRESS the ENTER Key or OK on the SORT TEXT Dialogue Box.
Currently the SORT function is only available in Microsoft 365 and Excel 2021. Excel 2019, Excel 2016 do not support dynamic array formulas, so the SORT function is not available in these versions.
How to sort alphabetically in Excel with multiple columns automatically? ›If your data set contains two or more columns, you can use the A-Z or Z-A button to put one of the columns in alphabetical order and Excel will automatically move the data in other columns, keeping the rows intact.
How do I sort alphabetically in Excel without mixing data? ›- Select the column data you want to sort, and then click Data > Sort.
- In the Sort Warning dialog, keep Expand the selection option checked, and click Sort.
- In the Sort dialog, specify the criterion that you will sort on and the sorting order. See screenshot:
- Click OK.