Template:Sort/doc

Sort is a utility template used to force a cell in a sortable table (one using the sortable class) to be sorted differently from its contents.

Usage
The template takes one unnamed parameter:


 * sort key: The text to use when sorting the table by this cell's column.

Example

 * results in:

When clicking on the table header row to sort by column contents, note how the sort keys affect the resulting order.

Numbers are not sorted in truly numeric order; "10" is sorted before "9", because "1" comes before "9" in sorting order in the same sense that "Aroden" comes before "Zyphus". To correctly sort numbers, pad all numbers with enough leading zeroes for the sort key with the most digits ("09" comes before "10", "099" comes before "100", etc.).