How to change the draw order of flat primitives?

I have several labels, billboards and one polyline.
Currently polyline overwrites labels and billboards, although it was added to scene primitives before other objects.
I want to move it to bottom (that’s like z-index in html, z-order, and the order of the draw in canvas).
How to do that?