sort by date on ticket