Given an array of Drop Zone Game Objects, sort the array and return it, so that the objects are in depth index order with the lowest at the bottom.
name | type | description |
---|---|---|
gameObjects | Array.<Phaser.GameObjects.GameObject> |
An array of Game Objects to be sorted. |
The sorted array of Game Objects.