MaxItembyKey node with 2D List

As can be seen in the image:

With a list of lists, the maximumitem by key does not seem to work. I want to get a new 1D list of the points with the maximum ‘X coordinate’ from each of the sublists.

Below that I am simply showing that it works with a 1D list, not sure why it isn’t with a 2d list.

image

I should rephrase, I want the points associated with the maximum ‘X-coordinate’ from each sublist… NOT just the number value itself.

Hi @astm563

1 Like

I knew there had to be something simple I was missing. Thanks KulKul!

Please mark the post as solved. You’re welcome!