}
if (keyedRefGroups.size() == 0)
return keysIn;
Collections.sort(keyedRefGroups, new KeyedRefGroupTModelComparator());
int count = 0;
String prevTModelKey = null;
Set<String> orResults = new HashSet<String>(0);
List<?> restrictionList = keysIn;
List<?> curResult = null;