Hi! Wonder if there is anyone could help to sort the list with the combination of texts and numbers in 5 groups for every value. The Sort Text component does not work as it only follows the position order of the names but not the number sequences. Thanks!
Sort Text & Number.gh (5.8 KB)
I only need 1 list, and it should follow the order in the vertical groups separated by “_”, the front group will be prioritized than the latter ones.
And this is the order I need it to be:
Not very elegant but done with the help of
MultiSort from Pancake
Sort Text & Number.gh (13.8 KB)
The grave mistake here is that your numbers don’t have the same amount of digits.
If you can, add leading zeros and then Sort Text will be fine.
Yeah, thank you very much Keyu!
Yes, I also noticed that, but the issue is I dont know how many digits it is going to have before I make a standard series for the script, it may ends up having more than 3 digits instead of only 3 in this case.
Thank you very much Teddy, it works well!