Bug 41523 Keep Order of libs when editing library [build path]
When I edit a library in the Properties dialog of my project using "Properties"->"Java Build Path"->"Libraries"->"Edit", e.g. changing the JRE from 1.4 to 1.3, or changing from an old version of a JAR to a newer one, the changed library is at the last position in the classpath. It should kept at the position it was.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
private Control fSWTControl;
	private final int IDX_ADDJAR= 0;
	private final int IDX_ADDEXT= 1;
	private final int IDX_ADDVAR= 2;
	private final int IDX_ADDLIB= 3;
	private final int IDX_ADDFOL= 4;
	
	private final int IDX_EDIT= 6;
	private final int IDX_REMOVE= 7;
	
		
	public LibrariesWorkbookPage(IWorkspaceRoot root, ListDialogField classPathList) {
		fClassPathList= classPathList;
		fWorkspaceRoot= root;
		fSWTControl= null;
		
		fDialogSettings= JavaPlugin.getDefault().getDialogSettings();
		
		String[] buttonLabels= new String[] { 
			 NewWizardMessages.getString("LibrariesWorkbookPage.libraries.addjar.button"),	
			 NewWizardMessages.getString("LibrariesWorkbookPage.libraries.addextjar.button"), 
			 NewWizardMessages.getString("LibrariesWorkbookPage.libraries.addvariable.button"), 
			 NewWizardMessages.getString("LibrariesWorkbookPage.libraries.addlibrary.button"), 
			 NewWizardMessages.getString("LibrariesWorkbookPage.libraries.addclassfolder.button"), 
			 null,  
			 NewWizardMessages.getString("LibrariesWorkbookPage.libraries.edit.button"), 
			 NewWizardMessages.getString("LibrariesWorkbookPage.libraries.remove.button") 
		};