Add sorting to rides depending on departure date