Edit: After half day, my wife’s Mac started having the same problem. I have then applied the solution that I found in the Apple
Keep Track of Renamed Folders in Finder
When you create a new folder in Finder’s List View, it would be automatically named Untitled Folder and placed in the list in alphabetical order. But when you rename the folder and click in the Finder window to confirm the change, the new folder would jump to its correct alphabetic location, but the Finder window won’t show this renamed folder. Instead, it stays focused on the letter U, where the Untitled Folder was located. How to solve this problem?
The solution is simple. Instead of clicking in the window after the folder is renamed, press the Return key, or the up/down arrow keys. As a result the renamed folder will remain selected, and the view will jump to its position in the alphabetical list.