code: protected void initialize() {
  
          if (m_folderList != null) {
              // ensure folders are sorted starting with parent folders
              Collections.sort(m_folderList, I_CmsResource.COMPARE_ROOT_PATH);
          }
  
          if (m_fileList != null) {
              // ensure files are sorted starting with files in parent folders
              Collections.sort(m_fileList, I_CmsResource.COMPARE_ROOT_PATH);
          }
  
          if (m_deletedFolderList != null) {
              // ensure deleted folders are sorted starting with child folders
              Collections.sort(m_deletedFolderList, I_CmsResource.COMPARE_ROOT_PATH);
              Collections.reverse(m_deletedFolderList);
          }
      }
docs: Initializes the publish list, ensuring all internal lists are in the right order.<p>