I've created a polygon in an Oracle 18c SDO_GEOMETRY FC via ArcMap.
In ArcMap, the vertices are displayed in the direction that I drew them: clockwise.

However, if I query the data via SQL, then the vertices are listed in counterclockwise order:
select
t.x,
t.y
from
sdo_polygons p
cross join
sdo_util.getvertices(p.shape) t --https://stackoverflow.com/q/72590279/5576771
ID X Y
-- -- --
1 10 10
2 20 10
3 20 20
4 10 20
5 10 10
Questions:
Why is there a difference in the vertex order — between ArcMap and SQL?
Are two different sets of vertices stored within a single feature?
Related:
I happen to be aware of an Oracle error message that suggests that SDO_GOMETRY polygons need to be counterclockwise:
ORA-13367: wrong orientation for interior/exterior rings
Cause: In an Oracle Spatial geometry, the exterior and/or interior rings are not oriented correctly.
Action: Be sure that the exterior rings are oriented counterclockwise and the interior rings are oriented clockwise.
Oracle Spatial Community: Why do polygon vertices need to be counterclockwise?
GIS SE: Order of polygon vertices in general GIS: clockwise or counterclockwise