Usually in the Map Editor, Objects(atoms) of the same layer are drawn in the order they are placed on the Map.(Pretty neat and logical)
However, when atoms have a pixel_x or pixel_y (maybe pixel_z also?) components, this is not found to be always true..
This image should explain more clearly.

Numbered Steps to Reproduce Problem:
1.Download the Project
2.Follow the instructions inside the LayerTest.dm
Basically use the Map Editor and see the results based on the objects I have defined there.
Expected Results:
The Atoms if having the same layer should be drawn in the order of their placement on the map.
Actual Results:
Some tiles are drawn under the atoms placed previously..
Does the problem occur:
Every time? Or how often?
Every time when the conditions are true..
When does the problem NOT occur?
Avoid Using pixel_x,pixel_y and maybe pixel_z.
Workarounds:
None known yet... (even though I do have a Hypothesis, =P)