We should sort the dates before assigning to `start` and `end` - if somebody includes a range as `end,start` there's no reason why we can't just fix the order.