The ternary is really so much more elegant, thanks :D
In reply to Re^2: Smoothsort by QuillMeantTen in thread Smoothsort by QuillMeantTen