sort entries before adding to ensure date is updated correctly for dupes