When using cg_drawSprites 1 sprites are drawn in what seems to be the order that the code gets to them rather than being depth sorted then drawn.
(It is probably not limited to cg_drawSprites being 1, I'm sure all sprites are affected it's just most apparent with it on)

It's annoying once you spot it

A quick couple of images showing the problem: http://imgur.com/a/ogyUy