Pregunta de entrevista de Trilogy International

some sorting algorithm in javascript