Depth Sorting and PShape

Does someone know how to solve this issue ?