Source and docs for my modified bubblesort code.