Question d’entretien chez Hexaware Technologies

Write a program to sort an array.