• ARTICLE
  • STRING
  • CONVERTER
  • ENCRYPT
  • NETWORK
  • MORE
    CHART
    MATH
    COORDINATE
    IMAGE
    FILE
  • ARTICLE
    STRING
    CONVERTER
    ENCRYPT
    NETWORK
    MORE
    CHART
    MATH
    COORDINATE
    IMAGE
    FILE
logo Online Tools
0 Comments Favorite Copy Link Share

Number Sort Online

TAG math-tool

{no} is the order, {value} is the number, and the rest of the text remains unchanged
Number Sort Online-summary

Online number sorting tool that supports sorting a large number of input numbers and supports multiple ways of inputting or extracting numbers. Supports sorting very large integers and very large floating-point numbers.

Number Sort Online-instructions
  1. Input Content : Enter the numbers to be sorted, and the format of the input numbers is determined by the Number Extract parameters. The default is line break splitter, which means entering one number per line.
  2. Number Type : This tool supports sorting integers and real numbers. When sorting integers, it supports sorting integers of any size. When sorting real numbers (integers, rational numbers, etc.), it supports sorting real numbers with up to 300 significant digits. The default significant digits for real numbers are 64 digits, and the precision parameter for real numbers can be modified by Settings.
  3. Number Extract : The format of the numbers in the input content, this tool supports the following number formats:
    1. Split by New Line : Input a number on each line, for example:
      123
      456
      -789.1323
    2. Split by Comma : Separate multiple numbers with commas, for example 123,456,-789.1323 .
    3. Custom Split String : Use custom split characters to split multiple numbers in the input content.
    4. Regex Match : Use regular expression matching to extract numbers from the input content. The supported syntax for regular expressions is JavaScript regular expression syntax.
    5. Regex Split : Use regular expressions to split the numbers in the input content.
  4. Join : Select how to format the sorted numerical results. This tool supports comma and line break joins, JSON, Custom join characters and various formatting methods for sorting numerical results.
  5. Order : Select how to sort the numbers. This tool supports four sorting methods: ascending, descending, random, and reverse.
  6. Remove Duplicates : Select whether to remove duplicate numbers from the input content.
  7. Show Seq No. : Select whether to display the numerical sequence number in the sorting results.
  8. Open : Open a text file and support encoding the opened file as UTF-8.
  9. Settings : Show the parameters for real number precision settings, which support setting the following parameters for real number precision:
    1. Precision : The significant digits of real numbers, within range 64 - 300, the default value is 64 .
    2. Minimum Relative Difference : The minimum relative difference used to test equality between two compared values. The default value is 1e-12 .
    3. Minimum Absolute Difference : The minimum absolute difference used to test equality between two compared values. The default value is 1e-15 .
    4. Comparison method of real number : Compare two real numbers a and b using a formula abs(a-b) <= max(relTol * max(abs(a), abs(b)), absTol) . Among them, abs is the absolute value function, max is the maximum value function, relTol is the minimum relative difference, and absTol is the minimum absolute difference.
    5. Example : Set the real number precision to 128, the minimum relative difference to 1e-30, and the minimum absolute difference to 1e-30, It can achieve sorting with 128 significant digits, accurate to 30 decimal places.
  10. Download : Download the sorting results as a text file, and encode the downloaded file as UTF-8.