smoothsort! finally! too bad the essay isn't finished lol