Sort by distance from given date.