Bubble sort is a simple sorting algorithm for rearranging the contents of an array
Useful for alphabetical lists and numerical sorting
Can be done in ascending or descending order
With the Bubble Sort, array elements are compared and numbers bubble toward the end of the array (assuming your sorting in ascending order)
Swapping elements must be done in order to properly sort the array