Drawing order of Objects in an Arraylist

Yea, is it as simple as implementing Z as the last variable of the Constructor so in my Stone class wich extends the GardenObject class I put:

  Stone(..., ..., ..., int z) {

    ...
    ...
    ...
    z =1
  }