code: @Override
      public int compareTo(final Outcome other) {
          return Data.getTotalComparator().compare(this.invocationID, other.invocationID);
      }
docs: {@inheritDoc} Comparison is done on the invocation ID.