reverse date comparator and fix date in stats file name