Bank of America interview question

Implement any one of the sorting algorithms