ACI Worldwide interview question

how to sort a array using bubble sort