BubbleSorting things

--Originally published at Monty Python and the Blogging Tale

So one of Ken challenges required arranging numbers in order; I knew how because it was not the first time I have used a BubbleSort, but one thing that I never learned was to arranging list in alphabetical order… thus, here are my codes.

Bubble sort for numbers, it was super easy:

random

And the output:

bubble

And now for the alphabetical sort:

bubble

And the ouput:

alph

Easier than I thought.