code: public int compareTo(StoredProcedure o) {
          int result = -2;
  
          result = order(getCatalog(), o.getCatalog());
          result = (result == 0 ? order(getSchema(), o.getSchema()) : result);
          result = (result == 0 ? order(getProcedureName(), o.getProcedureName()) : result);
  
          return result;
      }
docs: Comparable implementation.
  Compares with other instance of StoredProcedure to define order.
  Returns 0 - if equal, 1/-1 bigger/smaller.
  
  @param o Stored Procedure instance which would be compared against this isntance
  @return 0 - if equal, 1/-1 bigger/smaller.