}
final List<SonarProject> projects = new ArrayList<SonarProject>();
for (Resource resource : resources) {
final SonarProject project = new SonarProject(resource);
projects.add(project);
}
Collections.sort(projects, new Comparator<SonarProject>() {
@Override