# sortVerticesCounterClockwise

`sortVerticesCounterClockwise`()
  sortVerticesCounterClockwise(vertices: `IPoint3`[], base: `IPoint3`[]): `IPoint3`[]

  Sorts an array of vertices in counter-clockwise order around their centroid.

  Parameters

  > vertices: `IPoint3`[]

  > > An array of vertices to be sorted.

  > base: `IPoint3`[]

  > > A base array used to determine the sorting order.

  Returns: `IPoint3`[]

  > A new array of vertices sorted in counter-clockwise order.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...