If the list is not parameterized, you can use:
lst.Sort();
EDIT . If it's a list ValueValid
, you can use:
lst.Sort(delegate(ValueValid v1, ValueValid v2) { return v1.Country.CompareTo(v2.Country); });
Assuming it ValueValid
has a property named Country
.
source
to share