Adds cactus and fixes sorting layers