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"
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?