private static int compareHeaderRanks(final @NotNull XmlTag header1, final @NotNull XmlTag header2) {
    return getHeaderRank(header2) - getHeaderRank(header1);
  }
private static int compareHeaderRanks(final @NotNull XmlTag header1, final @NotNull XmlTag header2)