Question d’entretien chez Deloitte

Write a program to sort the elements in given order