How do you get Mac OS Finder to group folders together when sorting?
Finder &gt; Preferences &gt; Advanced &gt; Keep folders on top when sorting by name

Before macOS 10.12 Sierra, this wasn't an option.
Before 10.12, Finder just didn't have a &quot;group the folders&quot; at the top/bottom. There are legions of Mac users that put all sorts of characters in their folder names so that they sort above or below when sorted by name.
There are all sorts of hacky ways to manipulate the &quot;kind&quot; strings internally, but then everything is arranged by kind first, and secondarily alphabetically.
If this is a deal breaker - check out the many apps that run in place of the Finder. Here is a query to get you started:
https://apple.stackexchange.com/search?q=finder+replacement