Watch 15 sorting algorithms run — or write your own and get it scored, live in your browser.
— · cmp 0 · swap/write 0
Implement sort(a, viz). Compare with viz.gt(i,j) / viz.lt(i,j),
swap with viz.swap(i,j), write with viz.set(i,v), read with viz.get(i).
Operations routed through viz light up the bars and are counted.