Pregunta de entrevista de Capgemini Engineering

Q: How to sort numbers stored in a stack while maintaining the original stack?