Smoothsort has been fixed and refactored. Everything is working now ...