sort local date formating for new record