Cool, but I don't see how it's sorting anything. It just seems to play a randomized arrangement of the slices. You can re-randomize as much as you like but there's no sort option as far as I can see.
Because it only plays the samples being compared, it never plays the sorted chunks, so it's missing a "punchline" of sorts.
It wasn’t until I read your comment that I realised the sorting happened while you were listening rather than before hand.
Set it to 8 slices and it becomes easy to see what it's doing: look at the waveform and the now-playing highlight jumping around.
I would suggest the author changes the UI to just show a number instead of a bar, to make this clearer.