Have the class panel open
Right click and select "rearrange palet mode"
Arrange a few classes. In my case from a group to the last group.
Deselect "rearrange..." (did not matter tested both way)
Create new class with the last "new class"

When the studio save it it gets in a loop for me.
Reproduced 3 times, so looks consistent.