Sort files in current directory before subdirectories in depChain