• Paint order: by zIndex, ties by array position. Array.prototype.sort is stable, which is what makes the tie rule hold without a second key.

    Parameters

    Returns Drawing[]