code: public int getSortOrder(Element element) {
          String deepName = getDeepName(element);
          return elementNameSortOrderMap.get(deepName);
      }
docs: Gets the index describing the sort order (lower number == element towards the start of the file)