Template:Sort table/doc

From Wikipedia, the free encyclopedia

This template extends the functionality of {{sort list}} to tables, so that tables in articles can be set with a default sorting, and have their rows manually shuffled around every time their data is updated.

Usage[edit]

  • {{sort table|table|column}} or {{sort table|asc|table|column}} sorts table ascending by column
  • {{sort table|asc|table|column}} sorts table descending by column