Sort a list of points by keys

Hi all I am trying to sort a list of points by keys (another sorted list in increasing order of angles measured with x-axis )

Here even after sort by key node, it is not working properly. Even after that it is returning the unsorted list. only. please let me know

Main thing is to have the list in a cyclic manner (either in clockwise or in anticlockwise)

Hello @shashank.baganeACM ,

Please use Vector.AngleAboutAxis in place of Vector.AngleWithVector,
Hope you will get what you are looking for.

Regards
Sagar Jain

1 Like

Thanks I got it now. Thank you so much I was feeding the with vector. But In my case I need to use the vector.Angleabout axis.

Thanks @honeyjain619

1 Like