05-15-2008 11:22 AM
05-15-2008 11:34 AM
05-15-2008 11:34 AM
05-15-2008 11:37 AM
Lacking detials I'll respond as I read you Q.
Just add the new element to your array and then pass that array to the "Sort 1-d array" if it needs to be asending or add a "reverse 1-d array" after if you wan it to be decending.
If you have two (or more collumns) and you want to sort based on one one of the collumns, convert the 2-d array to a 1-d array of cluster (where the first element in the cluster is the sort collumn) adn wire that to the "sort 1-d array". Then convert it back.
I hope my "shot-gun" approach has something you can use!
Ben
05-15-2008 11:37 AM
05-15-2008 11:39 AM
05-15-2008
12:36 PM
- last edited on
03-17-2026
03:10 PM
by
Content Cleaner
If the list is already sorted use Threshold 1D-Array primitive
This will return the (fractional) position of the new values (threshold y) in the original array. You can even start searching from a specific number.
For your purpose you might want to use a RoundTowardInfity primitive.
Ton