Never mind about debugging smooth sort; Doogle figured it out.

I could still use some help with Shear sort if anyone wants to hook me up.