adSage interview question

order a list.