How to sort list that includes a negative item?

Hi guys!

Im a bit stuck with this silly thing. I have 9 different points which are created in 3 different lists. I want to create a polyline throughout those 9 points but my list is not organized in a way in which it creates the polyline in order. I tried to sort it by using deconstruct point and using the X data to sort them but i have some points which have a negative X coordinate and the sort list is just ignoring the negative ones.


You should’ve swap the two input values which are K & A…

okay… that was super easy. thanks for reply!!!

Also note there’s a Sort Points component which already sorts by X, so that would be even easier. There’s also Sort Along Curve if your points are oriented at some angle in space.

1 Like