added date comparator to comments collection