onlineintegertools logo

Integers sorter

World's simplest integer tool

This browser-based utility sorts a bunch of integers and prints an ordered list in the output. You can switch between ascending, descending, and random order modes, as well as drop repeated integers. The input and output integer sequences can use any delimiter between the values and it can be customized in the options. Created by math nerds from team Browserling.
announcement we've created devurls!
We just created another project – DEVURLS – world's simplest developer news aggragator. Check it out!
Sorting Order
Arrange integers from small to large.
Arrange integers from large to small.
Arrange integers in an unpredictable order.
Integer Delimiters
Separate unsorted integers by this character. (Symbol \n denotes a newline.)
Separate sorted output integers by this character. (Symbol \n denotes a newline.)
Repeated Integers
Output only unique integers.
Integers sorter tool What is a integers sorter?
With this online program, you can sort a list of positive and negative integers. It can process any number of integers at once and you can switch between three order modes in the options. The "Increasing Order" mode arranges all integers from the smallest to largest. The "Decreasing Order" option puts integers in order from the largest to smallest. The "Random Order" mode randomly permutes integers and returns them in an arbitrary order. If you need only the unique integers in the output, activate the option "Remove Integer Copies". The input sequence of integers can be separated by a comma, semicolon, pipe, or any other character. There's an option that controls this delimiter symbol. There's also the exact same option for the output sequence of sorted integers list. Integerabulous!
Integers sorter examples Click to use
Organize Even Integers
In this example, we organize a series of even integers by rearranging them from the tiniest (2) to biggest (100). As the input sequence uses a comma-separated integer format, we put the comma character in the input delimiter option. In the output sequence, we change the integer separator and set it to a semicolon.
44, 14, 98, 74, 76, 52, 78, 36, 48, 84, 30, 26, 64, 66, 54, 22, 8, 80, 2, 28, 96, 56, 72, 4, 6, 18, 20, 90, 24, 12, 40, 58, 38, 100, 46, 10, 60, 16, 88, 92, 50, 34, 62, 42, 68, 82, 32, 94, 86, 70
2; 4; 6; 8; 10; 12; 14; 16; 18; 20; 22; 24; 26; 28; 30; 32; 34; 36; 38; 40; 42; 44; 46; 48; 50; 52; 54; 56; 58; 60; 62; 64; 66; 68; 70; 72; 74; 76; 78; 80; 82; 84; 86; 88; 90; 92; 94; 96; 98; 100
Required options
These options will be used automatically if you select this example.
Arrange integers from small to large.
Separate unsorted integers by this character. (Symbol \n denotes a newline.)
Separate sorted output integers by this character. (Symbol \n denotes a newline.)
Output only unique integers.
Unique Decreasing Integers
The input data in this example contains whole numbers (integers greater than zero) and their additive inverses (integers less than zero). Many of the integers are repeated as the input contains multiple copies of the same value. To sort the values in order from the highest to lowest and to avoid the duplicates, we have activated the "Remove Integer Copies" and "Decreasing Order" options. We have also set the data separator to a space char. As a result, we get only five distinct integers that we print in a vertical column.
35 200 200 -5 35 -5 35 35 -5 8 8 200 8 8 -5 35 -5 8 -5 200 -5 35 -5 8 8 -5 -100 8 200 35 8 8 -100 35 35 -5 -5 35 -5 8 -5 -100 8 -5 -100 -100 -5
200 35 8 -5 -100
Required options
These options will be used automatically if you select this example.
Arrange integers from large to small.
Separate unsorted integers by this character. (Symbol \n denotes a newline.)
Separate sorted output integers by this character. (Symbol \n denotes a newline.)
Output only unique integers.
Random Integer Arrangement
In this example, we enable the "Random Order" mode that makes the order of integers chaotic and unpredictable. It shuffles all integers and puts them in arbitrary positions. Each time you activate this option, it produces a different output arrangement. We also use the mode that drops non-unique integers, and we print them as a comma-separated sequence.
99 52 52 24 12 0 0 -7 -16 -16 -22 -32 -66
12, 0, -7, 99, -16, 24, -22, -66, -32, 52
Required options
These options will be used automatically if you select this example.
Arrange integers in an unpredictable order.
Separate unsorted integers by this character. (Symbol \n denotes a newline.)
Separate sorted output integers by this character. (Symbol \n denotes a newline.)
Output only unique integers.
Pro tips Master online integer 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://onlineintegertools.com/sort-integers?input=44%2C%2014%2C%2098%2C%2074%2C%2076%2C%2052%2C%2078%2C%2036%2C%2048%2C%2084%2C%2030%2C%2026%2C%2064%2C%2066%2C%2054%2C%2022%2C%208%2C%2080%2C%202%2C%2028%2C%2096%2C%2056%2C%2072%2C%204%2C%206%2C%2018%2C%2020%2C%2090%2C%2024%2C%2012%2C%2040%2C%2058%2C%2038%2C%20100%2C%2046%2C%2010%2C%2060%2C%2016%2C%2088%2C%2092%2C%2050%2C%2034%2C%2062%2C%2042%2C%2068%2C%2082%2C%2032%2C%2094%2C%2086%2C%2070&ascending-order=true&input-separator=%2C%20&output-separator=%3B%20&skip-duplicate-numbers=false
All integer tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly rewrite integer digits using pretty Unicode glyphs.
Quickly generate random two-dimensional integer points.
Quickly generate random three-dimensional integer points.
Quickly print a list of integers that are palindromes.
Quickly convert the given integer to a palindromic integer.
Quickly find all integers in the given text or string.
Quickly make integer digits go in a triangle wave.
Quickly unleash the destructive force of Zalgo on integers.
Quickly find two or more integers that add up to the given integer.
Quickly find several integers that multiply up to the given integer.
Quickly randomize the given sequence of integers.
Quickly mix the order of digits in an integer.
Quickly put integers in increasing or decreasing order.
Quickly sort the individual digits of an integer.
Quickly increase all integers by a certain amount.
Quickly increase individual digits by a certain amount.
Quickly decrease all integers by a certain amount.
Quickly decrease individual digits by a certain amount.
Quickly randomly select an integer from a list of integers.
Quickly create groups from the digits of an integer.
Quickly write integer digits backwards.
Quickly remove one or more digits from an integer.
Quickly replace one or more digits in an integer.
Quickly drop digits from an integer and make it shorter.
Quickly add the thousands separator to integers.
Quickly remove the thousands separator from integers.
Quickly find the largest integer in a list of integers.
Quickly find the smallest integer in a list of integers.
Quickly find the total sum of a bunch of integers.
Quickly find the sum of all the digits in an integer.
Quickly find the total product of a bunch of integers.
Quickly find the product of all the digits in an integer.
Quickly calculate the partial sum of a bunch of integers.
Quickly calculate the partial product of a bunch of integers.
Quickly flip the sign of one or more integers.
Quickly split an integer into chunks of a given length.
Quickly merge partial integers together to form a larger integer.
Quickly round integers up or down to the required precision.
Quickly convert integers to a downloadable picture.
Quickly generate a list of von Neumann ordinals.
Quickly generate a list of Zermelo ordinals.
Quickly generate an ordered sequence of integers.
Quickly generate an ordered list of even integers.
Quickly generate an ordered list of odd integers.
Quickly write an integer spelling in words.
Quickly convert spelled integers to regular integers with digits.
Quickly generate an array of integers for programming.
Quickly find the number of occurrences of digits in integers.
Coming soon These integer tools are on the way
Draw von Neumann Universe
Create a drawing that visualizes von Neumann hierarchy of sets.
Create Integer n-Tuples
Generate a list of tuples of integers with n elements.
Convert Integers to Unary Base
Quickly convert integers to base one.
Convert Unary Base to Integers
Quickly convert base one to integers.
Convert Integers to Binary Base
Quickly convert integers to base two.
Convert Binary Base to Integers
Quickly convert base two to integers.
Convert Integers to Octal Base
Quickly convert integers to base eight.
Convert Octal Base to Integers
Quickly convert base eight to integers.
Convert Integers to Hex Base
Quickly convert integers to base sixteen.
Convert Hex Base to Integers
Quickly convert base sixteen to integers.
Convert Integers to Base64
Quickly encode integers to base-64.
Convert Base64 to Integers
Quickly decode base-64 to integers.
Change Integer Base
Quickly convert integers to a custom base.
Convert Integers to HTML Entities
Quickly encode integers to HTML encoding.
Convert HTML Entities to Integers
Quickly decode HTML entities to integers.
Create Random Integers
Generate a list of random integers.
Check if an Integer is Symmetric
Check if the given integers are palindromes.
Generate an Integer Matrix
Create a matrix whose entries are all integers.
Generate an Integer Vector
Create a vector with integer coefficients.
Find the Average
Quickly calculate the average value of integers.
Find the Digit Average
Quickly calculate the average value of integer digits.
Clamp Integers
Limit integer values to a range.
Clamp Integer Digits
Limit integer digit values to a range.
Duplicate Integers
Create multiple copies of the input integers.
Rotate Integers
Rotate the digits of an integer to the left or right.
Shift Integer Digits
Move the digits of an integer to the left or right.
Subtract Integers
Quickly find the difference of a bunch of integers.
AND Integers
Quickly apply the bitwise AND operation to integers.
OR Integers
Quickly apply the bitwise OR operation to integers.
XOR Integers
Quickly apply the bitwise XOR operation to integers.
NOT Integers
Quickly apply the bitwise NOT operation to integers.
NAND Integers
Quickly apply the bitwise NAND operation to integers.
NOR Integers
Quickly apply the bitwise NOR operation to integers.
XNOR Integers
Quickly apply the bitwise NXOR operation to integers.
Convert an Integer to Ordinal
Add -st, -nd, -rd, -th suffixes to integers to make them ordinals.
Convert an Oridinal to Integer
Remove -st, -nd, -rd, -th suffixes from ordinals to make them ints.
Filter Integers
Find integers that match a filter (greater, less, equal).
Left-pad Integers
Add padding to integers on the left side.
Right-pad Integers
Add padding to integers on the right side.
Right-align Integers
Position all integers so that they align on the right.
Center Integers
Position all integers so that they align in the middle.
Take Absolute Value of Integers
Turn all integers into positive integers.
Make All Integers Negative
Turn all integers into negative integers.
Convert Integers to Fractions
Rewrite an integer in fractional form.
Convert Fractions to Integers
Extract the numerator and denominator from a fraction.
Find and Replace Integers
Search for all occurrences of an integer and replace it.
Generate Integers from Regex
Create integers that match the given regular expression.