Task: Question Decomposition
Input (English): question: What are the names of all instructors who advise students in the math depart sorted by total credits of the student.
Output (English): #1 return students 
#2 return #1 in the  math depart 
#3 return total credits of  #2 
#4 return instructors who  advise #2 
#5 return names of  #4 
#6 return #5 sorted by #3