code: public String addSortParams(boolean bIncludeFileName, boolean bForceUniqueKey)
      {
          String strSort = DBConstants.BLANK;
          KeyArea keyArea = this.getKeyArea(-1);
          if (keyArea != null)        // Leave orderby blank if no index specified
              strSort = keyArea.addSortParams(bIncludeFileName, bForceUniqueKey);
          return strSort;
      }
docs: Setup the SQL Sort String.
  (ie., (ORDER BY) 'AgencyName, AgencyNo').
  @param bIncludeFileName If true, include the filename with the fieldname in the string.
  @param bForceUniqueKey If params must be unique, if they aren't, add the unique key to the end.
  @return The SQL sort string.
  @see KeyArea