Sorting OfPoint List

Hi @ all,

I am really confused, i have a list of Datatype ofPoint, where i want to sort the list by the x value. Is there any approach i can follow?

thank you very much

yup, create a function that takes 2 ofPoints, and returns p1.x < p2.x. then use the sort method of the list passing that function as a parameter

thanks mehmet, i will give it a try