@Override
    public int compareTo(ReconcilableTransaction that){

        if(this.equals(that)){
            return 0;
        }

        if(!this.date.equals(that.date)){
            return this.date.compareTo(that.date);
        } else {
            return  (this.id > that.id) ?  1: -1;
        }

    }