Pergunta de entrevista da empresa Cognizant

Difference between internal sort and external sort?