Sollicitatievraag bij Capgemini Engineering

given a stack of integer, Write a Java program that outputs a stack sorted it ascending order. You can use a temporary array.