Click the green flag and select the number of items you want to sort. These items will be represented by increasingly larger bars of different colors depending on their value. They will be sorted and you will be given a preview of this sorting thanks to a visualization of the quick sort algorithm. If the project is open on turbowarp, the limit will be 10k items and not 500.
This algorithm takes only 5 lines of code when written in python but unfortunately, scratch does not have the recursion which is essential for this algorithm. So I managed to make a semblance of recursion and it took me more than 200 blocks. Anyway, I found it just satisfying to see, it is clearly not a project that lives up to the others but I share it with you anyway.