press flag to scramble the blocks into a random order press space to start sorting (the red bar will start moving) pls do not spam space or the flag or else the algorithm will break also there is a 1 in 3.6 million chance you get the seed "0123456789" so tell me if you do
i came up with this sorting method myself but i dont doubt that someone else already made something like this enjoy the music that the algorithm plays the way that it works is that the red bar moves down until it hits a block, then it knows that that block is the tallest one and moves it to the far right, then it goes down again until it hits the second block, and moves it to the left of the tallest block, and so on.