Yes I have, thanks!
I think I miscommunicated the problem - in fact I have less of an issue with “sorting” the points and more of an issue with splitting them into different lists accordingly. Then there’s the biggest issue which is the sorting process which strangely omits certain points…both in the script posted
by Lei above and in that from the 2014 forum post.
All different with what I wanna do.
pls check below:
listPts = rs.coercePoints3d(input) #is it possible use sorted() function like: sorted(listPts, key = listPts.x) #the syntax is bad but for address the idea that: I want use sort() or sorted() function to sort a point3d list by its x or y value.