Use model to establish sort params instead of DOM state

This means that tables which have their sort params and directions specified in config (such as those on site activity dashboards - eg https://www.gov.uk/performance/site-activity-attorney-generals-office/top-department-referrers) won't be overwritten due to the the lack of DOM properties.