Cognizant Interview Question

Sort an array in java without using Arrays.sort() .