S
Scott
Good afternoon,
I would like to mimic the sorting capabilities in Excel where I can sort a
list by up to four properties (columns in excel). I would like to pass a
collection of objects to a function and get a sorted collection back. The
sorting would occur based on the user's selection of up to four properties of
the objects in the collection. The sorting may be requested based on UP TO
four properties but could just as easily happen for one property.
How can I code this functionality? What is this type of sorting called so I
can research an algorithm? Does this code already exist somewhere and I can
borrow it?
Thanks,
Scott
I would like to mimic the sorting capabilities in Excel where I can sort a
list by up to four properties (columns in excel). I would like to pass a
collection of objects to a function and get a sorted collection back. The
sorting would occur based on the user's selection of up to four properties of
the objects in the collection. The sorting may be requested based on UP TO
four properties but could just as easily happen for one property.
How can I code this functionality? What is this type of sorting called so I
can research an algorithm? Does this code already exist somewhere and I can
borrow it?
Thanks,
Scott