List item selecting wrong curve?

I am following a tutorial on youtube and trying to recreate it, however even when I am following the instructions my result seems to be opposite from what is needed. Is there any way I can fix this?

It depends on the way Grasshopper is treating the output.

My suggestion is to use the Curve Length Component. Followed by Sort List component then list item

This will help you select the longest curve what so ever!.

thank you so much!!