Template:HD/tablesort

When creating sortable tables, there can be issues with how a column sorts. See Help:Sorting for a complete overview.

  • Columns that mix alpha and numerical data will sort alphabetically— this can be resolved by using {{nts}}.
  • When using general text with and without wikilinks, use {{sort}}.
  • To sort dates, use {{Date table sorting}}.
  • For sorting names in the format last, first use {{sortname}}.