Template:Numkey2/doc

Use
This template creates an invisible sort key   prefix based upon a real number or one of several mathematical symbols for use in sortable tables with mixed numbers and text or merely text. This template creates a valid sort key with an accuracy of one part in 10,000,000,000 for real numbers in the ranges 1e-300 to 1e300 and -1e-300 to -1e300. If the absolute value of the real number is greater than 1e300, this template creates a key representing infinity. If the absolute value of the real number is greater than 0 but less than 1e-300, this template creates a key representing infinitesimal. If the input variable is not a real number, this template does not create a key.

The syntax of this template is: where var1 is any real number (may contain thousands separators), &infin;, 1/&infin;, -1/&infin;, -&infin;, INF, 1/INF, -1/INF, -INF, IND, indeterminate, UND, undefined, UNK, unknown, NA, not applicable, or not available.

The use of this template is illustrated in the sortable table below: