void function ( List < CourseSummaryBundle > arg0 ) { Collections . sort ( arg0 , new Comparator < CourseSummaryBundle > ( ) { public int compare ( CourseSummaryBundle arg1 , CourseSummaryBundle arg2 ) { return ( - 1 ) * arg1 . course . createdAt . compareTo ( arg2 . course . createdAt ) ; } } ) ; }
sorts courses based on course creation date in the order of latest to oldest order concode_field_sep ArrayList<SectionDetailsBundle> sections concode_elem_sep ArrayList<FeedbackSessionAttributes> feedbackSessions concode_elem_sep CourseAttributes course concode_elem_sep ArrayList<EvaluationAttributes> evaluations concode_elem_sep ArrayList<StudentAttributes> loners concode_field_sep void sortSummarizedCoursesByCourseId concode_elem_sep void sortSummarizedCoursesByCourseName concode_elem_sep void sortSummarizedCourses