sort dates
Sort by date.