Can I define my own depth sorting for the sprites when the perspective camera is used?

Do you have a working prototype available to make a .gif animation of the problem? I’m not 100% understanding the issue.