Domanda di colloquio di Saama Technologies

Which algorithm would you use to sort this and why?