Fix table sorting for date range columns

Because column key is an array, adding the key as a data ttr added a comma separated list, which then can't be used to lookup. Just use the start point of the range for sorting in this case.
Merge pull request #768 from alphagov/bugfix/table-date-range-sorting

Fix table sorting for date range columns