Sort items in folder by date...only for that folder!
You can only specify the sort order for the top-most folder in any given view.
If you want to sort a folder in a folder to a different view, you would need to open it in a new window…

Main folder sorted by Name, sub folder by Date…