Template:SortKey/doc


 * Description
 * This template is for sorting tables by placing invisible sortkeys to sort tables if sorting them gives wrong results.


 * Syntax
 * Type  or   in the table cell.


 * Sample output
 * gives an invisible number 00000000000000025000. The number gets zero padded to match 20 digits. if this isn't enough, a second parameter can be used as number of digits.


 * gives an invisible number 040. If the sortkey is decimal the sorting might not sort well when it's getting sorted in text. Solutions are: to be consistent with number of decimals (every sortkey the same number of decimals) or adding a seconds sortkey for the decimal part.


 * can be used to have anything invisible without zero padding.