1 of 5

How sort by name in finder but first sort folders then files ?

when I want sort my files and folder in finder(specially sort by name) they sort all item by name ,then folders and files mixed together, I want a way that windows do sorting, first sort all folder by name then sort other items by their name how can I do this?