Make config.trees order by position in config file. Fix Bug 969873