improve date-handling for "new" sorting