Any way to specify OrderBy() without Where() ?

Jan 27, 2015 at 10:48 PM
I was wondering if I could specify an OrderBy() condition without the need to specify a Where() clause.

Currently, this call does not work :
var query = new CamlBuilder().Query().OrderBy("Title").ToString();
I have to "trick" it by specifying a Where() clause that should not have any impact on my query like this one :
var query = new CamlBuilder().Query().Where().IntegerField("Id").GreaterThan(-1).OrderBy('Title').ToString();
Do you have any guidance on how I could get the result without twisting the query ?

Thanks !
Jan 28, 2015 at 7:54 AM
Unfortunately, no such possibility as of right now.
Probably I should do it as with the ViewFields in the adjacent thread.
I'll keep you updated.

Mar 21, 2016 at 7:30 PM
I would like to 2nd this request. I need to be able to order every item in a list. Right now I have make the query by hand or fake it by selecting some ridiculous never true value for a field to make the query.