Biggest Item in every List

HI guys…I want to take the biggest Item on
each list but all 4 ways I tried give me the wrong answer

Hi @ali_arch …here is one way. it could probably work in your case.

4 Likes

hi…no man…every time the number will change…so this way is not working

i want the biggest number in the each list

it should be according on the comparison

Hello, Mr. sovitek always gives good advice (try the script)


01 juiillet try it.dyn (8.5 KB)

Cordially
christian.stan

2 Likes

oh my god…guys can you give me a simple with comparison?

Only valid with lists of 2


Cordially
christian.stan

1 Like

The List.MaximumItem solution given will outperform by a long shot.

You could use a List.Sort followed by a List.GetItemAtIndex node (watch lacing and list levels on both) where the index is -1 for the largest, 0 for the smallest, 1 for the second smallest, -2 for the second largest, and so on.

1 Like