Is there any draw order setting in PDF?

I use ElementReader to iterate all elements from pdftron::PDF::Page.

I met with a problem, that is one image (here it is 'Im0') which
should be in the most top, however which is covered by other images in
my application. As a result that 'Im2' is last drawn on canvas. The
'Im0' is drawn in the last in Adobe Reader.

Below is the content retrieved from this PDF Page with function
page.GetContents().

{
q
q
1600 0 0 1200 0 0 cm
/Im0 Do
q
BT
7 Tr
/F1 1.0 Tf
0.00747 0.00000 0.00000 0.01083 0.01756 0.86553 Tm
0 0 Td
(\000\131) Tj
/F1 1.0 Tf
0.00747 0.00000 0.00000 0.01083 0.01756 0.86553 Tm
10.45897 0 Td
(\000\003) Tj
ET
/Im1 Do
Q
q
/Im2 Do
Q
Q
Q
}

By the way, I call doc->GetOCGConfig(), which return NULL.
So how can I get the images in correct order?

In PDF content is always drawn in bottom-up order (i.e. using painters
algorithm) where subsequent elements can cover any previous elements.

If you would like to draw image ('Im0') on top of other graphics than
you need to move it to the end of the display list.