hopefully got SortedMapping code working fully with traits (and regtests and comparers)