# Integer 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.

Tool Options

#### 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.

## What Is an Integer 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!

## Integer Sorter Examples

Click to try!
click me

### 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.
click me

### 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.
click me

### 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 tipsMaster 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://onlinetools.com/integer/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=%252C%20&output-separator=%253B%20&skip-duplicate-numbers=false

### All Integer Tools

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 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.

Generate a Sudoku Board

Create a sudoku puzzle.

Generate Magic Integers

Create a list of neat-looking integers (called magic integers).

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.

Convert Integers to URL Encoding

Quickly encode integers to URL (percent) encoding.

Convert URL Encoding to Integers

Quickly decode URL-encoded integers.

Convert Signed Integer to Unsigned

Quickly convert a signed integer to an unsigned integer.

Convert Unsigned Integer to Signed

Quickly convert an unsigned integer to a signed integer.

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 Integer Average

Quickly calculate the average value of integers.

Find Integer Digit Average

Quickly calculate the average value of integer digits.

Pick an Integer Digit

Quickly randomly select a digit from an integer.

Compare Integers

Find which of the given integers is the biggest or smallest.

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.

Duplicate Integer Digits

Create multiple copies of digits of 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.

Divide Integers

Quickly divide two or more integers.

Divide Integer Digits

Quickly divide the digits of an integer.

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).

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 Regex from Integers

Create a regex that matches the given integers.

Generate Integers from a Regex

Create integers that match the given regular expression.

Generate Small Integers

Create relatively tiny integers.

Generate Big Integers

Create relatively huge integers.

Generate Oscillating Integers

Create a sequence of oscillating integers, such as 123212321.

Generate a Multi-integer Sequence

Create multiple integer sequences at once.

Introduce Errors in Integers

Slightly change an integer so it has an error.

Introduce Errors in Integer Digits

Slightly change integer digits so there are errors.

Make Integers Fuzzy

Apply fuzzing to integers and add perturbations.

Make Integers Digits Fuzzy

Apply fuzzing to integer digits and add digit perturbations.

Highlight Integers

Highlight Integer Digits

Add highlighting to certain integer digits.

Color Integers

Add color to integers based on a condition.

Color Integer Digits

Add color to individual digits in the given integers.

Convert Integers to Pixels

Quickly assign colors to integers and draw them as pixels.

Convert Pixels to Integers

Draw an Integer Spiral

Make the digits of an integer go in a spiral shape.

Draw an Integer Circle

Make the digits of an integer go in a circle.

Draw an Integer Diamond

Make the digits of an integer go in a diamond shape.

Draw an Integer Box

Fill a box with certain width and height with digits.

Create 2D Integers

Use ASCII art to convert integers to 2-dimensional drawings.

Create 3D Integers

Use ASCII art to convert integers to 3-dimensional drawings.

Decompose an Integer

Decompose an integer into ones, tens, hundreds, etc.

Print Increasing Integers

Generate an ordered list of increasing integers.

Print Decreasing Integers

Generate an ordered list of decreasing integers.

Print Integer Information

Quickly find various information about the given integers.

Find Patterns in Integers

Find hidden patterns of numbers in integers.

Calculate Integer Entropy

Find the Shannon entropy of an integer.

#### Subscribe!

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