In a SharePoint Online Document library I have converted folders to document sets via PowerShell. However, the resulting document sets still have a value of "1" in the hidden and read-only SortBehavior ("Sort Type") column, which causes them to appear above documents sets that are created from the UI, as they are given the proper value of "0"
I've updated the SortBehavior's ReadOnlyField property to False and it appears that this update was successful.
Despite this, I'm still unable to modify an item's SortBehavior property and any attempt to do so leads to the following error message:
Invalid data has been used to update the list item. The field you are trying to update may be read only.
Is there any approach that will allow an update to an item's SortBehavior value in SharePoint Online?