Link to home
Avatar of tmajor99
tmajor99

asked on

C# Sorting a table

Can you show me how to sort this table (FilteredValueOfProduct ) in C# using attributeURL.   Sorry, I am new to C#.

I tried using -->  FilteredValueOfProduct.Sort();  but does not work.  

Here is how it is defined:
 List<FilteredValuesOfAttribure> FilteredValueOfProduct = new List<FilteredValuesOfAttribure>();

 public class FilteredValuesOfAttribure
    {
        public string attributeURL { get; set; }
        public string attributeTtitle { get; set; }
        public string value1 { get; set; }
        public string id { get; set; }
    }
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial