Uses hacked blocks to use less `not` blocks (which are rather slow) and selection sort to sort small chunks of the list (which is faster than quicksort on small lists). https://en.wikipedia.org/wiki/Quicksort https://scratch.mit.edu/projects/141138151/