Pregunta de entrevista de CodeMettle

Sort an array of generic elements using any sorting method.