Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE advisor ( i_id VARCHAR, s_id VARCHAR )
TABLE: CREATE TABLE student ( id VARCHAR, dept_name VARCHAR, tot_cred VARCHAR )
TABLE: CREATE TABLE instructor ( name VARCHAR, id VARCHAR )

### Question ###
Find the name of instructors who are advisors of the students from the Math department, and sort the results by students' total credit.

### Accurate SQL ###

SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'Math' ORDER BY T3.tot_cred