code: @Override
      public int compareTo(final IndexTerm obj) {
          return DITAOTCollator.getInstance(termLocale).compare(termKey, obj.getTermKey());
      }
docs: Compare the given indexterm with current term.
  
  @param obj object to compare with
  @return int