Genius Loci get views by name

Hello, I am trying to retrieve some views from an excel file, and I am having a problem with Genius Loci node “get view by name” node, as you can see, the order of the names of the view in the excel file is different from the restult, if anyone can help me with that i would apretiate a lot, thank you

Camilo C

Hi @LievX,

A quick fix is to use the List.SortByKey node to reorder the list of views :

1 Like

Hi!! thank you! I already tried that, but I need the get view to preserve the indexes, because it’s a csv, and it’s writing a lot of parameters, I ended up splitting the csv on 4 different ones and running the routine 4 times