Update to sortable table script

Ok, i've fixed one hell of a bug in the table sorting script which must have been in there for at least 2 months, screwing up sorting incredibly, sorry for that. I added in a new feature as well, you can now have dates formatted as 01-Jan-1970, and it will sort these right as well.

Let me know if you have any more feature requests, bugs or other stuff, I'll be happy to fix them!