calculate the Average of students degrees ,max. degree ,number of succeeded students and sort the degrees.