doc: align module resolve algorithm with implementation
In docs, it reads like GLOBAL_FOLDERS
takes precedence over node_module
, but in implementation, GLOBAL_FOLDERS
is appended to the last of paths to resolve. It should take lowest priority.