I am trying to sort an arraylist that contains the following values.
A - Value for A
1 - Value for 1
5 - Value for 5
3 - Value for 3
30 - Value for 30
50 - Valure for 50
When I use ArrayList.Sort() I am getting the following.
1 - Value for 1
3 - Value for 3
30 - value for 30
5 - value for 5
50 - value for 50
A - Value for A
What I want to see is:
1 - Value for 1
3 - Value for 3
5 - value for 5
30 - value for 30
50 - value for 50
A - Value for A
Please help if you can.
A - Value for A
1 - Value for 1
5 - Value for 5
3 - Value for 3
30 - Value for 30
50 - Valure for 50
When I use ArrayList.Sort() I am getting the following.
1 - Value for 1
3 - Value for 3
30 - value for 30
5 - value for 5
50 - value for 50
A - Value for A
What I want to see is:
1 - Value for 1
3 - Value for 3
5 - value for 5
30 - value for 30
50 - value for 50
A - Value for A
Please help if you can.