select
    device_id,
    gpa,
    age
from user_profile
order by 
gpa,age;