I
Its me Earnest T.
I have a class that looks like
Public Class Number
Public Index As Int16
Public Appears As Int16
Public Ratio As Single
Public Sub New(ByVal index As Int16, ByVal appears As Int16, ByVal ratio
As Single)
Me.Index = index
Me.Appears = appears
Me.Ratio = ratio
End Sub
I have an arraylist that stores 50+ of these classes. I need to sort this
arraylist by Ratio. Can someone point me to an example of this other than
the microsoft example
http://msdn.microsoft.com/library/d...fsystemcollectionsarraylistclasssorttopic.asp
which shows how to sort just one thing inside the arraylist.
Public Class Number
Public Index As Int16
Public Appears As Int16
Public Ratio As Single
Public Sub New(ByVal index As Int16, ByVal appears As Int16, ByVal ratio
As Single)
Me.Index = index
Me.Appears = appears
Me.Ratio = ratio
End Sub
I have an arraylist that stores 50+ of these classes. I need to sort this
arraylist by Ratio. Can someone point me to an example of this other than
the microsoft example
http://msdn.microsoft.com/library/d...fsystemcollectionsarraylistclasssorttopic.asp
which shows how to sort just one thing inside the arraylist.