Homebrew bubblesort, because processing.js doesn't support Java libraries