add generics
add some helper methods converting a set to a sorted array
NSMutableSet.addObjects needs to clear cache