This Bubble Sort asks the user to input any 10 numbers up to 100 in a random order. When the sprite is clicked the numbers are arranged from least to greatest. NOTE: By default in Scratch, the sprite carries the input box instruction in a speech balloon. For this project, I preferred the input box to carry the instruction in a banner across the top. To achieve this, hide the sprite.
See a self-generating Bubble Sort at https://scratch.mit.edu/projects/374146161