Example of a bubble sort where we are given an unordered array and need to order