I ended up creating a custom control and doing some simple sorting like so:
var myCollection = dynamicModuleManager.GetDataItems(staffBioType).Where(i => i.Status == ContentLifecycleStatus.Live).OrderBy(i => i.GetValue<
While this works, it got me wondering how I'd do complex sorting. Normally, I'd create a helper class that inherits from IComparer and handle the sorting in the class' Compare method implementation. And I'd use the collection's "ToList()" method to get a generic list that can be sorted using my comparer class.
I tried doing this very thing but couldn't figure out how to extract my module's custom "SortOrder" property from the DynamicContent object passed in to the Compare method:
StaffBioSorter : IComparer<DynamicContent>
Compare(DynamicContent x, DynamicContent y)
I'm sure I'm overlooking something very basic here.
Thanks -- Steve