BNP Paribas interview question

Write a program for anyone sorting algorithm