My current approach involves utilizing a customized orthographic projection matrix to place my flat sprite objects. However, I am facing an issue where the depth of the projection cannot be calculated linearly based on their positions alone; it is determined through a topological sort instead. How can I establish the depth of these objects independently from their positions?