page_title: Bubble sort
hierarchical_section_title: Bubble sort
context_page_description: Bubble sort is a simple sorting algorithm. It is simple to understand, so it is usually taught to new students. It is not as efficient as some other sorting algorithms.
  Bubble sort's name comes from the fact that each item in the list “bubbles” up to where it should go, like bubbles in water.
context_section_description: Bubble sort is a simple sorting algorithm. It is simple to understand, so it is usually taught to new students. It is not as efficient as some other sorting algorithms.
  Bubble sort's name comes from the fact that each item in the list “bubbles” up to where it should go, like bubbles in water.
caption: A bubble sort illustrated