Pergunta de entrevista da empresa PwC

Can you explain me about algorithm sorting?