Arranging numbers in ascending order

How would I use C++ to arrange a set of 5 inputted values in ascending order and then cout the order? So far I have an idea of using an array, order[5], and then assigning the lowest number to order[0], second lowest number to order[1], etc. Then I would cout order[0], order[1], etc. I am having trouble on using C++ to find the second lowest number, the middle value, and the second highest number. Any help would be grateful.

Is there a faster way to do this besides with arrays?