Edit - actually this doesn’t really do what I was originally asking about but it does help with more general z-sorting issues.
Potential solution in this video, though it is not without it’s pitfalls.