When I mix imported layers from Sketch and generated Layers via code I can't bring imported layers to top. The codebased layers are always on top:
That doesn't help:layer.bringToFront()
Have the same problem. I tried to generate code layers as sketch sublayers, that also didn't work.
Make sure to also change the superLayer of your importer layer. (To the Framer.Device.screen, for example) :)