Added sticky table headers to history page, fixed history data sorting issue

The data on the history page is a pretty long list. I thought it might
look at bit nicer to have a sticky table header so that further down the
list you still have an idea of what you're looking at!

Also, fixed sorting problem with history data where numeric columns would not sort properly.