Fetch interview question

Fetch data from an API, sort it, and display it in a list.