code: @Override
    public int compareTo(Object other) {
      if (other == null) {
        return -1;
      }
      JobKey otherKey = (JobKey)other;
      return new CompareToBuilder().appendSuper(super.compareTo(otherKey))
          .append(this.jobId, otherKey.getJobId())
          .toComparison();
    }
docs: Compares two JobKey QualifiedJobId
  
  @param other
  @return 0 if the Qualified Job Ids are equal,
  1 if this QualifiedJobId greater than other QualifiedJobId,
  -1 if this QualifiedJobId is less than other QualifiedJobId