Dear god, drag'n'drop might work for organizing layers.

No undo yet.
Undo/redo moving layers works. Might be bug hiding in there, though.