1
Answer

sorting classes in a list

cakewalkr7

cakewalkr7

17y
1.7k
1
I have a list of classes I created and I want to sort that list by one field in the class. I've tried following examples, but they're all examples of sorting a list of strings or ints so I'm not sure how to sort my list of classes by a field in the class. My class is a storeitem class and I want to sort it by the manufacturer field. Can anyone give me an idea how to do this? Thanks.
Answers (1)