Question about isometric sorting (your post)

hi Andy, I got a question about your isometric sorting (https://mazebert.com/2013/04/18/isometric-depth-sorting/) i've implimented your technic in my iso engine and got a problem. the AABB validation ( if (b.minX < a.maxX && b.minY < a.maxY && b.minZ < a.maxZ) ) can be both true for a and for b... it create a flicker as both fight for the same depth (happen when there is collision between 2 tile... 2 monster on the same tiles for example) Is there something i'm missing ? Thank a lot for your post really helped out understand sorting.