Slightly faster than the original and deterministic, unlike the original which used the random block. Compared to the original, this uses a few more blocks and one more variable. Original: https://scratch.mit.edu/projects/391085754 This might get updated if I find other improvements. Update History v2.0.1 (2020-08-24): - Removed some unnecessary blocks v2.0 (2020-08-24): - Released - Pivot selection is now deterministic - Reduced the amount of recursion - Added a variable