0

In my code, I am simply using SPList.Items which is returning all items (SPListItemCollection) with default sorting order (ascending order by Created date).

I know that I can use CAML Query or some other technique in my code to get the list items in required sort order but I don't want to make changes to my code. Is it possible to change the default order without making any changes to the existing code?

I am searching for an option like, just change a property of the List using SharePoint Manager and get the required sorting order when using SharePoint API (SPList.Items). Is there any such property available?

Thanks.

2
  • AFAIK, this is not possible, you will need to change the code. Commented Feb 9, 2017 at 10:34
  • do you want to get data in descending order without making change in code? Commented Feb 9, 2017 at 11:12

1 Answer 1

0

This is not possible. I would suggest to use the CAML query which you do not want to use.

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.