Help:Sortable tables: Difference between revisions

Content deleted Content added
Configuring the sorting: Mention using template {{val}}
Line 700:
 
== Configuring the sorting ==
By default, the system tries to guess the data type in each column. It does this by looking at the first five rows and evaluating their contents. This process works most of the time but can also easily get confused if you have inconsistent values or additional specifiers that the system doesn't know about. To avoid this ambiguity you can force a particular data type or override the value of a cell. For numeric values, consider using template {{Tl|Val}}, see examples at {{Section link|Template:Val|Sorting}}.
 
== Forcing a column to have a particular data type ==