I'm wondering -- what is the logic behind default sorting (when sorting alphabetically and by visibility is turned off) of functions/methods/fields/variables in Structure window for PHP file.
Here is the example (see attached file -- which is stubs for wincache extension): All functions are declared in alphabetical order, but in Structure window they are absolutely not (see screenshot attached). I saw no difference between builds -- same bahaviour in 1.0.2 as well as latest EAP build.
Is it a bug .. or that is supposed to be in this way?
I'm aware of File Structure Pop-up (where all the entries are sorted alphabetically) and Go-to Symbol pop-up (which covers whole project, or maybe even external libraries), but I'm relaying on Structure window as it provides a quick overview of your file and all my files are usually quite small so I can see whole file structure without scrolling up/down. And I'm also grouping similar by nature/task functions/methods together, so if sorted alphabetically they may appear in different parts of the Structure window but are next to each other in file (for example, such methods I would do next to each other: setCardNumber, getCardNumber, isValidCardNumber).