require_dependencies should be sorted for each directory.

ref #1487 
I fixed a few points.
I guess `require_dependencies` should be sorted for each directory.
/cc @celsworth @ujifgc @padrino/core-members