When you sort transparent objects back-to-front it's not correct because you sort one distance but one object is large and demand a dynamic array to use a sort algorithm.
The modern research give solution to that, actually two solutions is there Intel and Morgan+Louis solution.
Here link to both methods :
Weighted Blended Order-Independent Transparency looks to give more perfs but is it good to use it or the intel solution still the best ?
Thanks for the help