hi, i think i understand what you are asking 'cause i had the same issue.
Go to Finder..
Click on View...
Click on Show View Options ..
The last column is "Arrange by" ... choose "kind" in that.
Then all your folders will be sorted first and then the files.
Good luck.