code: private void readTasks(Document cdp)
     {
        //
        // Sort the projects into the correct order
        //
        List<Project> projects = new ArrayList<Project>(cdp.getProjects().getProject());
        final AlphanumComparator comparator = new AlphanumComparator();
  
        Collections.sort(projects, new Comparator<Project>()
        {
           @Override public int compare(Project o1, Project o2)
           {
              return comparator.compare(o1.getOutlineNumber(), o2.getOutlineNumber());
           }
        });
  
        for (Project project : cdp.getProjects().getProject())
        {
           readProject(project);
        }
     }
docs: Read the projects from a ConceptDraw PROJECT file as top level tasks.
  
  @param cdp ConceptDraw PROJECT file