also sort circles with shapes in z-ordering