How to show directories before files in Finder?
If you want to view things in a more Microsoft Windows-like fashion, there are several third-party commercial utilities that can provide more options. I do not know which of these will provide the exact layout you want, but you can download trial versions of one or more of the following:

RAGE Macintosh Explorer (This app is free)

Binary Age Total Finder

CocoaTech Path Finder

St. Clair Default Folder X (for Open and Save dialog boxes)