code: protected SortedMap<String, String> getParametersToDisplay(List<ParameterSetOperation> params) {
          // populate param map with sorted by key: key=index/name, value=first value
          SortedMap<String, String> paramMap = new TreeMap<String, String>(new StringAsIntegerComparator());
          for (ParameterSetOperation param : params) {
              String key = getParameterKeyToDisplay(param);
              String value = getParameterValueToDisplay(param);
              paramMap.put(key, value);
          }
          return paramMap;
      }
docs: populate param map with sorted by key.
  
  @param params list of ParameterSetOperation
  @return a map: key=index/name as string,  value=first value
  @since 1.4