Hey All,
I’m trying to reorder this list of values so that instead of sorting from smallest to largest the list would be reordered to follow a large, medium, small pattern. So ideally, if I had a list (1,2,3,4,5,6,7,8,9), It would be reordered to EDIT (7,4,1,8,5,2,9,6,3). Unfortunately, my issue isn’t as simple because I have a large list of continuous, numbers with long decimals. My intuition here is to separate the list into 3 separate lists, small numbers, medium numbers, and large numbers, then have them recompiled into one list where it takes 1 number from the large list, then the medium list, then small list, and repeats that pattern. Unfortunately, I’m not really sure how to do this in Grasshopper so it’d be great if anyone here could help me! I’ve attached a screenshot of
my gh project, and I can attatch the actual gh file if it’s needed.
Thanks!
i