Create a class that implements the interface IComparer. The class needs to have a method named Compare that does the comparison of the properties you want to sort. I usually don't program VB, but something like this:
Class MyObjectComparer Inherits IComparer
Public Function Compare(A as Object, B as Object)
Return String.Compare(DirectCast(A, MyClass).SomeProperty, DirectCast(B, MyClass).SomeProperty)
End Function
End Class
This you can use to sort your array of MyClass objects: Dim comparer as new MyObjectComparer() Array.Sort(TheArray, comparer)
--- It's amazing to see how much work some people will go through just to avoid a little bit of work.