Folder and its subfolder use different sorting?

Like, the upper level folder is sort by date and its subfolder I can use sort by filename.

Thanks.