Exercise to display and sort data