data-type

W3C Working Draft

specifies the data type of the strings; the following values are allowed: [text] specifies that the sort keys should be sorted lexicographically in the culturally correct manner for the language specified by lang, [number] specifies that the sort keys should be converted to numbers and then sorted according to the numeric value; the value specified by lang can be used to assist in the conversion to numbers; leading and trailing whitespace should be ignored when converting the sort keys to numbers