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 files ( duration INTEGER, f_id VARCHAR )
TABLE: CREATE TABLE song ( languages VARCHAR, resolution INTEGER, f_id VARCHAR )

### Question ###
What are the maximum duration and resolution of songs grouped and ordered by languages?

### Accurate SQL ###

SELECT MAX(T1.duration), MAX(T2.resolution), T2.languages FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id GROUP BY T2.languages ORDER BY T2.languages