This project has moved. For the latest updates, please go here.
4
Vote

Allow sorting on object graph public properties

description

It would be helpful if there were a simple way to sort objects deeper in the object graph via their public properties.
 
An Example Scenario:
Parent object has children objects with property of Firstname
The ability to specify an orderby (or alternative means) to sort by Parent.Child.Firstname (where Firstname is a public property of Child object)

comments

wrote Dec 27, 2006 at 5:02 PM

This is an excellent idea, but there are some snags possible. The bindings to the methods will, by necessity, be based on the declared return types of the properties involved. This may affect what end-result property is called.

wrote Dec 27, 2006 at 5:02 PM

wrote Jan 14, 2007 at 7:50 AM

chrisgraham wrote Jan 14, 2007 at 8:02 AM

This would be a great feature to have, are there any plans to add this in the future?

wrote May 25, 2007 at 7:55 PM

wrote Jul 11, 2007 at 12:31 PM

ngruson wrote Nov 29, 2007 at 12:02 PM

I made some changes to the code to support this requirement and it works for me. You can get it at http://nils-gruson.blogspot.com/. Marc, can you take a look at this?

Greets,
Nils Gruson

wrote Dec 3, 2008 at 6:25 AM

wrote Feb 13, 2013 at 6:06 PM