Inside test for Vec2, sorted group for 2D perspective