Tools -> Folder Options -> Display -> Keep folders sorted automatically.
Also see the Folder Formats FAQ.