Christian -

With a little help from Rajaa, here is an update sort.  This style of
sort takes a bit more code.  There are two places you need to change.

First, You need to right-click on the VB component and change each
Input (x, y and z) to List style.  This will give each one of your
inputs the complete list of values at one time.

Second, use this code.

-------------------------------------------------
    Dim Sorted As New List(Of Object)
    Dim i As Integer

    For i = 0 To x.Count() - 1
      Sorted.Add(x(i))
    Next

    For i = 0 To y.Count() - 1
      Sorted.Add(y(i))
    Next

    For i = 0 To z.Count() - 1
      Sorted.Add(z(i))
    Next

    A = Sorted
--------------------------------------------

Each input will be a list of values.  You walk through each list and
add it to your final list "Sorted"

I hope this helps.

- Scott

Reply via email to