code: public LinkedHashMap getParametersSorted() {
          if (sortedParams != null) {
              return sortedParams;
          }
  
          sortedParams = new LinkedHashMap<>(parameters.size());
  
          List<Parameter> entries = new ArrayList(parameters);
  
          Collections.sort(entries, new ParameterComparator());
  
          for (Parameter entry : entries) {
              String name = (String) entry.getName();
              String value = (String) entry.getValue();
  
              sortedParams.put(name, value);
          }
  
          return sortedParams;
      }
docs: Returns the map of http parameters contained in this message, sorted by
  <u>lower case</u> character order.
  
  If the map of sorted parameters has already been created that will be
  returned. Otherwise, a new LinkedHashMap will be constructed and cached
  for future use.
  
  @return A LinkedHashMap containing the sorted HTTP parameters, using the
  parameter name as the key
  @see java.util.LinkedHashMap