Inserts into a collection are registered as add

Aug 22, 2011 at 4:20 PM

Consider the following query:

ContinuousItemList = from item in Model.ItemList select new ItemViewModel(item);


Now say that there are 5 items in the list.  If I execute the following code, the item inserted at index 2 of Model.ItemList appears at the end of the ContinuousItemList.  As a result the order across the two lists is not consistent.

Item item = Model.Items[0];


Model.Items.Insert(2, item)


Am I doing something wrong?  Is this a known problem?  Is there a workaround?