Tools > Options: Codetools > Identifier Completion
There are 2 options about "sorting"
- recently used at top
- sort for scope
Try adjusting them. You may not like the "recently used" to be sorted to the top.
Scope likely means: locals first, then class, then unit, ....
As for alphabetic/declaration => no idea.