24 blocks for the algorithm. Removed visualization for speed.
Not very fast, but the sorting script was made in 2 minutes, and I will share a better one today, hopefully.