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
boolean stop = false;
        int firstMatch = 0;
        int lastMatch = descriptorsSize - 1;
        public void run() {
            Display display = resourceNames.getDisplay();
            final int itemIndex[] = { 0 };
            final int itemCount[] = { 0 };
             
            
            final boolean[] disposed = { false };
            display.syncExec(new Runnable() {
                public void run() {
                    
                    if (resourceNames.isDisposed()) {
                        disposed[0] = true;
                        return;
                    }
                    itemCount[0] = resourceNames.getItemCount();
                }
            });
            if (disposed[0])
                return;
            int last;
            if ((patternString.indexOf('?') == -1)
                    && (patternString.endsWith("*")) && 
                    (patternString.indexOf('*') == patternString.length() - 1)) {