how to sort array list that contains a list of strings ?

how to sort array list that contains a list of strings ( ascending and descending ) ?
Ameerh24Asked:
Who is Participating?
 
ColemssConnect With a Mentor Commented:
here is another post about it.  Using the class that implements icomparable is the way to go.
http://netrsc.blogspot.com/2005/01/customised-sorting-of-arraylist-c.html

In the first example the class only sorts the arraylist.

So you create the arraylist and send it to the sort method.
0
 
Ameerh24Author Commented:
but should I create a special class for that list of strings ?
0
All Courses

From novice to tech pro — start learning today.