featureIds.setSortComparator( JSUtilities.getStringComparator() );
featureIds.reSort();
Enumeration sortedFeatureIds = featureIds.elements();
while( sortedFeatureIds.hasMoreElements() ) {
IJSExtension jsExtension = (IJSExtension) jsExtensionsByFeatureId.get( sortedFeatureIds.nextElement() );
jsExtension.loadFeature( feature.getID(), feature.getVersion(), doc, scriptEngine, ( (WidgetConfigImpl) _widgetConfig ).getJSInjectionPaths() );
}
}
// Load widget extensions after all JS extensions are loaded
for( int i = 0; i < fSize; i++ ) {