Sortable Tables

Modified the code to use class="wikitable sortable"
This enables sortable tables on Mediawiki 1.19 and above