12-17-2009 10:34 AM
Having a bit of a problem with every column after the 2nd column. For this particular sort each model contains 8 columns of particular data for that particular model (column 1). Looking to keep this data attached to the model when doing the 2nd sort via the model #.
I've attached the sub-vi to give a better look at this.
Any thoughts?
12-17-2009 12:19 PM
Looking at your SubVI I assume that the number of columns is fixed. In that case, you could do something like this.
12-17-2009 01:45 PM
I must have had clusters on the brain, this is good for any number of columns.
12-18-2009 12:19 PM
Very decent solution. Thanks Darin.
How would you implement sorting for.... per say the 5th column or 3rd column?
12-18-2009 03:56 PM
To sort on a different column I would typically build a cluster with that column and original index to produce a key which I then use to shuffle the array.
To do more complex sorting I'd probably go green.