Revert "Bubble sort."

This reverts commit fdd3269ea2a9f8640e9d9763826c54f7e734c385.