title: Sorting array of points in clockwise order
body: <p>Is there such an algorithm to sort an array of 3D points in clockwise order?
  I'm specifically dealing with right triangle in my case so only 3 points. (for build mesh)</p>