public int compareTo(MessageStatussDTO other) {
        if (this.getDate().equals(other.getDate())) {
            return 0;
        } else if (this.getDate().compareTo(other.getDate()) == 1) {
            return -1;
        } else {
            return 1;
        }



    }