Here I am attempting to sort objects in a 3d world by z-coordinate depth for back to front rendering…
After numerous head-bands on the wall, I would just like to advise everyone NOT to ever try to implement an insertion sort using double-linked lists that run in contrary directions…