AbstractBundle[] sortedBundles = getInstalledBundles(framework.bundles);
AbstractBundle[] sortedBundles = getInstalledBundles(framework.bundles, true);
	private void doSetStartLevel(int newSL, AbstractBundle callerBundle) {		synchronized (lock) {			settingStartLevel = true;			try {				int tempSL = activeSL;				if (newSL > tempSL) {					for (int i = tempSL; i < newSL; i++) {						if (Debug.DEBUG && Debug.DEBUG_STARTLEVEL) {							Debug.println("sync - incrementing Startlevel from " + tempSL); //$NON-NLS-1$						}						tempSL++;						incFWSL(i + 1, callerBundle);					}				} else {					AbstractBundle[] sortedBundles = getInstalledBundles(framework.bundles);					for (int i = tempSL; i > newSL; i--) {						if (Debug.DEBUG && Debug.DEBUG_STARTLEVEL) {							Debug.println("sync - decrementing Startlevel from " + tempSL); //$NON-NLS-1$						}						tempSL--;						decFWSL(i - 1, sortedBundles);					}				}				framework.publishFrameworkEvent(FrameworkEvent.STARTLEVEL_CHANGED, callerBundle, null);				if (Debug.DEBUG && Debug.DEBUG_STARTLEVEL) {					Debug.println("StartLevelImpl: doSetStartLevel: STARTLEVEL_CHANGED event published"); //$NON-NLS-1$				}			} finally {				settingStartLevel = false;			}		}	}