In a standard 2D composition, Z-order (draw order) is explicit — elements are drawn in the order they appear in the layer stack, with higher layers appearing in front.
In a 3D composition, elements at different Z-depth positions may need to be drawn in a different order than the layer stack to appear correctly. An element at Z = -100 (far from viewer) should appear behind an element at Z = +100 (close to viewer), regardless of their layer stack position.
Painter's Algorithm (Default): Elements are drawn in layer stack order regardless of Z-depth. This is compatible with blend modes and is predictable, but can produce incorrect visual ordering when elements at different Z-depths cross the same screen area.
Depth Sort: FlashFX sorts elements by their camera-space Z depth before drawing. This produces correct visual depth ordering for non-overlapping, non-transparent elements.
Depth Sort Limitations:
For most motion graphics work, manual Z-ordering (using the layer stack) is more reliable than automatic depth sorting: