Author Topic: reversed items order in symbols browser  (Read 3018 times)

Offline p2rkw

  • Almost regular
  • **
  • Posts: 142
reversed items order in symbols browser
« on: April 15, 2012, 06:55:48 pm »
Hi,
Why, when i checked "do not sort" option in symbols browser items are in reverse order to their definitions in source code?
For me, the most useful way to sort the symbols is consistent with their order in the source code. In source code I have sorted the symbols (functions, variables) as I want so I do not need to sort them further. Reverse order makes navigation harder.

What do you think about it?

rev. 7790, win xp

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: reversed items order in symbols browser
« Reply #1 on: April 16, 2012, 01:23:40 pm »
So you want to tell c::b to not sort the symbols and then expect them to be in some particular order?
The options tells C::B to do to things:
1. produce a sorted list
2. produce a random list depending on the implementation of the parser

You've selected the second option and you're complaining that the result is not what you've expected it to be.
As far as I'm concerned this option should be removed and the items should be always sorted.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Freem

  • Almost regular
  • **
  • Posts: 219
Re: reversed items order in symbols browser
« Reply #2 on: April 18, 2012, 11:24:19 pm »
I guess he is in fact complaining because objects are sorted in alphabetical order, and not in compilation order (not sure that the "compilation order" is really understandable...)

And that he thought that disabling sort will make things in the second way.