1. Suggested names are ordered by their definition scope nesting, i.e. global variables are placed at the bottom of the list.
2. Object members are ordered by class inheritance.
3. If a local variable exists with the same name as the parameter of the called function, that variable is considered the most relevant.
These rules also apply to ActionScript completion.