Hi,
Undo of changes of the sort order in the Layer panel does not work.
To repeat that open a new file and use “Move Up” or “Move Down” then _Undo.
_Undo reports: “Undoing Layer - expanded” or “Undoing Layer - collapsed”.
This is a pretty old bug and I think it is time to fix it.
Thanks,
Jess