code: public void endCompose(StylesheetRoot sroot) throws TransformerException
    {
      int length = getSortElemCount();
  
      for (int i = 0; i < length; i++)
      {
        getSortElem(i).endCompose(sroot);
      }
      
      super.endCompose(sroot);
    }
docs: This after the template's children have been composed.