select device_id,gpa,age from user_profile
order by gpa asc, age asc
# asc 升序排列
# desc 降序排列