3D sort optimization attempt | ScratchStats