How might one print an array of ints in ascending order, without sorting the array?

Hints would be appreciated