optaplanner-examples/src/main/java/org/optaplanner/examples/machinereassignment/solver/drools/MrServiceMovedProcessesCount.java
@Override
    public int compareTo(MrServiceMovedProcessesCount other) {
        return new CompareToBuilder()
                .append(service, other.service)
                .append(movedProcessesCount, other.movedProcessesCount)
                .toComparison();
    }
@Override
    public int compareTo(MrServiceMovedProcessesCount other) {
        return new CompareToBuilder()
                .append(service, other.service)
                .append(movedProcessesCount, other.movedProcessesCount)
                .toComparison();
    }
Used by the GUI to sort the {@link ConstraintMatch} list
by {@link ConstraintMatch#getJustificationList()}.
@param other never null
@return comparison