It is very easy to sort files and folders by name and set it as a default sorting type.
Open Finder, then press COMMAND+J, this will open a window.
The window will offer you to “Sort By:”, the option will provide you with a dropdown menu which contains “Name” and other various types of sorting types.
To set this as the default sorting order press the “Use as Defaults” button, this will turn your local folder setting to a global setting, global settings will be applied to Finder, this means all the files and folder will be now sorted by “Name”.
Thank you for reading, if you have any question leave a comment below.