SELECT device_id, gpa, age
FROM user_profile
ORDER BY gpa, age;