Iterator<Decorator<?>> itSet = intsSet.iterator();
List<Decorator<?>> decoratorList = new ArrayList<Decorator<?>>();
while (itSet.hasNext())
{
WebBeansDecorator decorator = (WebBeansDecorator) itSet.next();
decoratorList.add(decorator);
}
Collections.sort(decoratorList, new DecoratorComparator(webBeansContext));