code: public void addElement(Element element, int sortOrder) {
          final String deepName = getDeepName(element);
          elementNameSortOrderMap.put(deepName, sortOrder);
  
      }
docs: Add an Xml element to the map
  
  @param element   Xml element
  @param sortOrder an index describing the sort order (lower number == element towards the start of the file)