code: private List<CmsNewResourceInfo> getNewResourceInfos(CmsObject cms, CmsADEConfigData configData, Locale locale) {
  
          List<CmsNewResourceInfo> result = new ArrayList<CmsNewResourceInfo>();
          for (CmsModelPageConfig modelConfig : configData.getModelPages()) {
              try {
                  CmsNewResourceInfo info = createNewResourceInfo(cms, modelConfig.getResource(), locale);
                  info.setDefault(modelConfig.isDefault());
                  result.add(info);
              } catch (CmsException e) {
                  LOG.debug(e.getLocalizedMessage(), e);
              }
          }
          Collections.sort(result, new Comparator<CmsNewResourceInfo>() {
  
              public int compare(CmsNewResourceInfo a, CmsNewResourceInfo b) {
  
                  return ComparisonChain.start().compareTrueFirst(a.isDefault(), b.isDefault()).compare(
                      a.getNavPos(),
                      b.getNavPos(),
                      Ordering.natural().nullsLast()).result();
              }
          });
          return result;
      }
docs: Returns the new resource infos.<p>
  
  @param cms the current CMS context
  @param configData the configuration data from which the new resource infos should be read
  @param locale locale used for retrieving descriptions/titles
  
  @return the new resource infos