KB1911227: How do I export a sortable wiki table?
Optionally, you can freeze rows prior to export. In this example, we will freeze two rows. The last frozen row will contain the column headers used for sorting.
Then, try using “Convert range to sortable wiki table” in the WikiTableWorks menu. This conversion creates a sortable wiki table.
The following video snippet is a demonstration:
You can copy and paste the exported sortable wiki table into MediaWiki, where the column headers become interactive.