Here is a summary of how the directory order affects the processing: