Improvements to sortable table