Create a ranking of points according to an order

Hi @christian.stan ,

To sort your points by X and then Y you need to group your points first by X.
To do this use the node List.SortByKey and List.GroupByKey right after each other, the List.SortByKey is also needed here to make sure your points are actually sorted by X and not only grouped by X.

Then to sort them by their Y-value use the List.SortByKey node again but now use the Y-values as keys. Just make sure you are working at @L2 here.

4 Likes