commit record ordered by date and time