As shown in this topic:
It seems, separate groups are interleaved. How do they function with the z-index between each other?
If I create group1 first and group2, group1 is below group2 right?
What if I add element1 first to group2 and then element2 to group1 will element1 be above element2 since group2 was created later or its vice versa?
Can somebody explain me how Phaser groups work?