adding types to comparator

collection, double, list, map and set types were missing.