fully functional ssort!