first draft (working) of SortedSet_stdset and SortedSet_Factory - still quite primitive testing so Im sure not fully working