Programmatically added Content Items do not get sorted properly in Projection Query

Topics: Customizing Orchard, General, Writing modules
Nov 11, 2014 at 5:03 PM
Hi all,
I've been creating content items dynamically via a custom module and displaying a summary view of them using a projection. This works fine if I import them all at once, but if I modify a couple in a way that updates their sort order it's clear that the sort part of the query is not re-evaluated. Is there a way to force the QueryPart to redo its sorting?