sort csv file by date