Sort with background3D if present