code: public static Map buildQueryParamsMapForSortExpression(DataGridURLBuilder urlBuilder, String sortExpression) {
          if(urlBuilder == null || sortExpression == null)
              return null;
  
          return urlBuilder.buildSortQueryParamsMap(sortExpression);
      }
docs: <p>
  Utility method used to build a query parameter map which includes the list of parameters needed to change the
  direction of a sort related to the given sort expression.  This method uses a {@link DataGridURLBuilder}
  instance to call its {@link DataGridURLBuilder#buildSortQueryParamsMap(String)} method from JSP EL.
  </p>
  @param urlBuilder the data grid URL builder associated with a
  {@link org.apache.beehive.netui.databinding.datagrid.api.DataGridState} object that is used to
  build lists of query parameters
  @param sortExpression the sort expression whose direction to change
  @return a {@link Map} of key / value pairs for query parameters
  @netui:jspfunction name="buildQueryParamsMapForSortExpression"
  signature="java.util.Map buildQueryParamsMapForSortExpression(org.apache.beehive.netui.databinding.datagrid.api.DataGridURLBuilder,java.lang.String)"