How do I alphabetically sort a generic List(Of String) in VB.NET?
17,388
Doesn't this work?
MyList.Sort()
Related videos on Youtube
Author by
Zack Peterson
Specializes in the design and creation of web and desktop applications. Contributes in all aspects of the software development process such as: requirements analysis and product definition; prototyping; choosing architecture and framework; interface design; database design; installation and integration; documentation and training; gathering feedback; and maintenance.
Updated on April 15, 2022Comments
-
Zack Peterson about 2 years
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.