testing why dates isnt working out the sort with mailer