Somehow i forgot to commit and push a change i made to the Sorting package long time ago. In short, its possible to filter the instances of a given type when you want to sort. Its not super optimized since it happens in-memory using reflection, maybe someone wants to push a optimization which uses Expression Trees? :)
Usage is quite simple when using with CustomUrl's when making Tree Definitions, just pass something like ?type=DIP.Data.Types.IEmployee&filter=IDepartmentId%3Debe6cbe5-c2c4-49a7-bde7-b6ea1d2cfec1
https://bitbucket.org/burningice/compositec1contrib/commits/be940f65fd3d421ba506156cefa6b0590a59c2eb
Usage is quite simple when using with CustomUrl's when making Tree Definitions, just pass something like ?type=DIP.Data.Types.IEmployee&filter=IDepartmentId%3Debe6cbe5-c2c4-49a7-bde7-b6ea1d2cfec1
https://bitbucket.org/burningice/compositec1contrib/commits/be940f65fd3d421ba506156cefa6b0590a59c2eb