V
vzsnake
Hello,everybody.
One my class inhereted from System.Collections.CollectionBase in
InnerList I add class B objects to InnerList and want to sort them by
multiple properties. I done the sorting, BUT when my classes have equal
values in property Name, and I sort the list by "name desc" or "name
asc", It sort wrong!
For example: (start list)
A
B
C
After Sort:
A
C
B
Can anyone explain why does it happen ?
Thanks.
One my class inhereted from System.Collections.CollectionBase in
InnerList I add class B objects to InnerList and want to sort them by
multiple properties. I done the sorting, BUT when my classes have equal
values in property Name, and I sort the list by "name desc" or "name
asc", It sort wrong!
For example: (start list)
A
B
C
After Sort:
A
C
B
Can anyone explain why does it happen ?
Thanks.