add support for future dates and ascending order