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
Not the OP but I stopped listening pretty quickly because I was confused about how it was sorted.
It wasn’t until I read your comment that I realised the sorting happened while you were listening rather than before hand.
So it's sorting from earliest to latest, really?
Not the OP but I stopped listening pretty quickly because I was confused about how it was sorted.
It wasn’t until I read your comment that I realised the sorting happened while you were listening rather than before hand.