Input an integer array and sort its elements.
Input an integer array and sort its elements.