Sort Numbers

I am trying to split a list of numbers in grasshopper. The sequence is as below. Looking at the text file, the number goes in ascending order. However, one list goes in descending order. Please advise on how to split this number at the end and start. I am trying to achieve partition list with sub list such as



NOTE: Search for 0.224695, that will be the inverted origin. I can’t sort the decimal value at the end as the values were not consistent
Data.txt (5.0 KB)

Try this

split (16.1 KB)

If u look at yr viewer, there is one list with N=70 and N =1, that is my issue.

And how we know where the list start and finish?
you need separate this list manually from index 215 to 249


1 Like