Pregunta de entrevista de Novatore Solutions

Sort array without using built-in methods