views:

184

answers:

1

I've created and populated a generic list of strings like this:

Dim MyList As New List(Of String)
MyList.Add("Beta")
MyList.Add("Echo")
MyList.Add("Charlie")
MyList.Add("Alpha")
MyList.Add("Delta")

Now I want to order it.

+2  A: 

Doesn't this work?

MyList.Sort()
Pawel Marciniak
Perfect. Thank you.
Zack Peterson