Add basic table sort

Didn't go crazy with the stylings, so it's more like a hidden feature. Should probably add some sort of visual indicator of the direction of the sort