Pregunta de entrevista de Simba Technologies

Explain a sorting algorithm and code it