This is out because there is obviously a major bug in the sorting algorithm. Any help would be VERY much appreciated! Please see the link: https://scratch.mit.edu/discuss/topic/181488/
This project is by @hugmyster, and you should definitely check their page to see it progress. I am just helping with a couple of bugs that have arisen. The sort algorithm decided if blocks should be swapped based on their "starting" locations in the order list, not their updated locations. Handing them the correct relative positions fixed this, I think.