bolonhaStudentOptionalEnrollmentBean.getExecutionPeriod());
final List<Context> childCurricularCourseContexts =
courseGroup.getValidChildContexts(CurricularCourse.class,
bolonhaStudentOptionalEnrollmentBean.getExecutionPeriod());
Collections.sort(childCourseGroupContexts, new BeanComparator("childOrder"));
Collections.sort(childCurricularCourseContexts, new BeanComparator("childOrder"));
generateCurricularCourses(blockContainer, childCurricularCourseContexts, depth + getWidthDecreasePerLevel());
for (final Context context : childCourseGroupContexts) {
generateCourseGroup(blockContainer, (CourseGroup) context.getChildDegreeModule(), depth