code: public void addParamPanel(String[] parentParams, String name, AbstractParamPanel panel, boolean sort) {
          if (parentParams != null) {
              addNewNode(addParamNode(parentParams, sort), new DefaultMutableTreeNode(name), sort);
              
          } else {
              // No need to create node.  This is the root panel.
          }
          
          panel.setName(name);
          getPanelParam().add(panel, name);
          tablePanel.put(name, panel);
      }
docs: ZAP: Added sort option