Is it possible to order by content type in a CAML query?
I seem to always get the same result no matter what I do with the Order by. Ordering by ID instead works perfectly.
query.Query = @"
<Where>
<And>
<BeginsWith>
<FieldRef Name='ContentTypeId' />
<Value Type='ContentTypeId'>0x010039EFCF9C11783C409E74551800AB7525</Value>
</BeginsWith>
<Eq>
<FieldRef Name='SectionTitle' />
<Value Type='Lookup'>" + filter + @"</Value>
</Eq>
</And>
</Where>
<OrderBy Override='TRUE'>
<FieldRef Name='ContentType' Ascending='FALSE' />
</OrderBy>";