Admin Forum:Sortable Tables

I'm trying to add the functionality of sortable tables to my wiki. I've searched through the help files and such, and I found the statement:

"Tables can be made sortablehttp://en.wikipedia.org/wiki/Sorting via client-side JavaScript with class="sortable" (in combination with the usual formatting: class="wikitable sortable"). This works in MediaWiki 1.9 and above, which is installed in all Wikimedia projects."

The problem is that this doesn't really help as I don't know what class="sortable" is and it doesn't seem to exsist on my wiki. I guess my question is what code do I need to put where so that I can make the wiki's tables sortable like they show Here: http://meta.wikimedia.org/wiki/Help:Table and Here:http://meta.wikimedia.org/wiki/Help:Sorting


 * Alright, I did get it to work by looking at the code, and tweeking something, and also Sortable tables don't appear in the preview, so you have to actually publich the code to make them function. User:Bond_em7 16:09, March 21, 2012 (UTC)


 * The sorting doesn't work in previews because Wikia has disabled JavaScript when editing in the Wikia skin. The sorting does work in previews when editing with the Monobook skin. If you really want to check the sorting before publishing an edit, you can switch to Monobook in your preferences. --Gardimuer { ʈalk } 01:17, March 22, 2012 (UTC)