fix date sort since RStudio & Chrome have different result with new Date