Wrong order of layers when loading certain PSD files
OS: Windows 10 64-bit (but not relevant)
GIMP version: master (and most likely also 2.10.32)
After fixing issue #8411 (closed), I noticed that the order in which the layers are loaded is incorrect. This might be caused because we drop certain layers, which we may not take into account when computing which layers belong to which group, but needs further investigation.
Example PSD can be found in the above mentioned issue, which also has a screenshot of the layers as shown in Photoshop.