Infosys Interview Question

write the code for any sorting algorithm