Bubbling
Bubbling is a sorting algorithm that organizes a list of items by repeatedly stepping through the list, comparing adjacent elements. If two elements are in the wrong order, they are swapped. This process continues until no more swaps are needed, indicating that the list is sorted. The name "bubbling" comes from the way smaller elements "bubble" to the top of the list.
This algorithm is simple to understand and implement, making it a popular choice for teaching basic sorting concepts. However, it is not very efficient for large datasets compared to other algorithms like Quick Sort or Merge Sort.