How to toggle visibility of groups when reorganising layers
An action that organises layers in groups has very different behaviour if a group is toggled open or closed. If a group above a layer is closed moving a layer upp will skip the group, but if the group is toggled open then the layer will be moved to the bottom of that stack. I am not finding a command that will reliably open or close a group so that the action can be guaranteed to give consisten result. How do others ensure that a layer is placed in above or below a specific layer. Changing layer order gives sets the layer to a layer number, I want it to be above or below a specific layer in a group. Please advise.

