I used CSOM to create/update an Library/List and I found after that, the files/folders under them are mixed together when sorting. The "New Command" is available and in the View, Sort only by specified criteria (folders may not appear before items) is uncheck.
The system Documents has no such issue. Screenshot as attached.
I'd like to ask:
1. If there are some settings in SiteCollection which may impact the sort results of List?
2. If there are other settings in List which may impact the sort results of List? I only know the "New Command" in list settings, the sort options like first sort column, second sort column in list view. In situation, no matter how do I configure those settings, it does not work.