Sollicitatievraag bij Saama Technologies

Which algorithm would you use to sort this and why?