Layers(order) in ObjectCreate?

 
I tried to create a rectangle, and put text over it. But something strange happen, the order that the objects appear on the screen seems kind of random. I had the following (in this order):

Rectangel
Text1
Text2
Text3
Text4

The problem is that text1 and text3 is hidden behand the rectangle, while text 2 and text4 is placed in front. Can I somehow arrange this order of the objects?

(the text# objects are labels)

/Johan
 
You have the choice of OBJPROP_BACK 0 / 1 (foreground, background)

But as for the order within the foreground or background, I haven't worked that out, either.
 
Thank you for your reply phy,

unfortunately it didn't solve my problem. I need the black rectangle over the candlesticks, but behind the text (to increase visability of the text). Using objprop_back with 1 puts the rectangle behind the bars :-S

Any one else who worked it out?
Reason: