# Sort Numbers from Small to Large

Sort numbers logically from the smallest number to the largest (numerically) rather than alphabetically.

Most word processors and text editors sort numbers according to their lexicographic order. For example, the number 8 would preceed the number 20 since the digit 8 comes after the digit 2 in the "alphabet" of digits. While this is what one usually expects from text (e.g. that the word "apple" would preceed the word "boat" even though the latter is shorter), this is not what one usually expects from numbers. This utility sorts numbers in their logical order, or the way they would be ordered if you have used the Sort function in Microsoft Excel. The ordering will be done according to the value of the number rather than the digits it is made of.

Upload content to begin.