Sorting grouped items

Jun 2, 2008 at 6:03 PM

Finally a version of SyncLINQ.. uh.. Bindable LINQ that compiles! Great work!

While playing around with the samples I noticed the following behaviour. In SyncLinqFilteredWindow.xaml.cs it says:
from c in _contacts.AsBindable()
where ...
group c by c.Company
into g orderby g.Key select new {... Contacts = g.OrderBy(c => c.Name) ...};
So I expected the grouped contacts lists to re-order their items automatically if I change the name of a contact. They do not.

Is this intended? If yes, what do I need to do to make the items automatically re-order themselves?

Jun 3, 2008 at 1:01 AM
Hi there,

Good find; that's actually a bug - the elements in the group should automatically sort. I will make sure this is fixed in 1.0.