legend layer rearrangement (point>line>polygon)