[NUCCORE-1103] Cater for SortedSet/SortedMap container interface types