Bug 76496 [Dialogs] "Open Resource" folder sorting gets reversed
Build 20041013 1. Press ctrl+shift+r to open the "Open Resource" dialog. 2. Type "plugin.xlm" 3. Notice the typo, delete the last two characters, and then type "ml" to fix the typo. 4. The "In Folders:" area now shows with reversed sorting (!!).
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceListSelectionDialog.java
/**
     * Update the specified item with the new info from the resource 
     * descriptor.
     * Create a new table item if there is no item. 
     * 
     * @param index index of the resource descriptor
     * @param itemPos position of the existing item to update
     * @param itemCount number of items in the resources table widget
     */
    private void updateItem(int index, int itemPos, int itemCount) {
        ResourceDescriptor desc = descriptors[index];
        TableItem item;
        if (itemPos < itemCount) {
            item = resourceNames.getItem(itemPos);
            if (item.getData() != desc) {
                item.setText(desc.label);
                item.setData(desc);
                item.setImage(getImage(desc));
                if (itemPos == 0) {
                    resourceNames.setSelection(0);
                    updateFolders(desc);
                }
            }
        } else {
            item = new TableItem(resourceNames, SWT.NONE);
            item.setText(desc.label);
            item.setData(desc);
            item.setImage(getImage(desc));
            if (itemPos == 0) {
                resourceNames.setSelection(0);