Help:Table/Sortable tables
Jump to navigation
Jump to search
Introduction to tables Creating tables manually Sortable tables
|
Columns can be sorted by adding the {| class="wikitable sortable" border="1" |- ! name ! data ! more data |- | cats | 273 | 53 |- | dogs | 65 | 8,492 |- | mice | 1,649 | 548 |}
Clicking on the up/down arrows in a column header will sort the column; clicking again will reverse the sort. Columns containing text will be sorted alphabetically; columns containing numbers will be sorted numerically. Columns containing mixed data will be sorted alphabetically. For advanced sort options, see Help:Sorting. |