Collections.sort(courses, new BeanComparator("nome")); return courses;
List<ExecutionCourse> coursesToProvide = new ArrayList<ExecutionCourse>(courses); Collections.sort(coursesToProvide, new BeanComparator("nome")); return coursesToProvide;
    public Object provide(Object source, Object currentValue) {        VigilancyCourseGroupBean bean = (VigilancyCourseGroupBean) source;        Unit unit = bean.getSelectedUnit();        Department department = bean.getSelectedDepartment();        Unit competenceCourseGroup = bean.getSelectedCompetenceCourseGroupUnit();        ExecutionYear currentYear = ExecutionYear.readCurrentExecutionYear();        List<ExecutionCourse> courses = new ArrayList<ExecutionCourse>();        if (unit == null) {            // Add pre-bolonha competenceCourses            courses.addAll(getExecutionCoursesFromCompetenceCourses(department.getCompetenceCourses()));            unit = department.getDepartmentUnit();        }        // Add bolonha competenceCourses        courses.addAll((competenceCourseGroup == null) ? getBolonhaCourses(unit)                : getBolonhaCoursesForGivenGroup(competenceCourseGroup));        Collections.sort(courses, new BeanComparator("nome"));        return courses;    }