productList.stream().collect(Collectors.collectingAndThen(
Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(ProductDTO::getCreateTime).reversed())), ArrayList::new));
productList.stream().collect(Collectors.collectingAndThen(
Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(ProductDTO::getCreateTime).reversed())), ArrayList::new));