Bubble Sort

24
22
25
19
19
Algoritmo
Explicación
do
  swapped = falso
  for i = 1 to lastUnsortedIndex - 1
    if left > right
      swap(left, right)
      swapped = true; swapCounter++
while swapped