Did you play it to the end? It's absolutely sorting from smallest to largest. Unless you have a confused understanding of a bubble sort, it's doing a bubble sort
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.