It's part of the homework assignment to use bubble sort.
In reply to Re^2: Advanced Bubble Sort by GotToBTru in thread Advanced Bubble Sort by Anonymous Monk