T
Tem
I have an Interface InterfaceBase, and two classes Type 1 and Type 2 that
implements InterfaceBase
Class Type1 has a string property Title
Class Type2 has a string property Title and an int property Ordering
List<BaseC> list
I would like to sort the list by the value of Ordering (Type 1's Ordering is
always 0) and a secondary order by the string property Title alphabetically.
I tried writing my own Comparision code, it doesn't seem to work
Thanks for your help
Tem
implements InterfaceBase
Class Type1 has a string property Title
Class Type2 has a string property Title and an int property Ordering
List<BaseC> list
I would like to sort the list by the value of Ordering (Type 1's Ordering is
always 0) and a secondary order by the string property Title alphabetically.
I tried writing my own Comparision code, it doesn't seem to work
Thanks for your help
Tem