Question d’entretien chez Prolifics

write a code for sorting an array? explain with a example