Cognizant Interview Question

sort an arrray in increasing order