Drawing order of Objects in an Arraylist

I think so, yeah.

z must be in all classes and have the right value