Today i came across with this new feature of MediaWiki where you can sort columns of a table by just adding a class name to it. its very simple and very effective. it comes with version 1.9.0 (not stable release) . i would have liked to include this cool feature in my coming MediaWiki book but its not stable and it might change during the development. but all the way, i liked the feature and i am really looking forward to see this feature is available in next stable version.
You can look at the following link for current development.