FDM Group interview question

how to implement bubble sort