title: How to set OrderedView of the list view programmatically
body: <p>I am trying to modify the List View of Link list in SharePoint 2010. What I need to do is to allow/disallow users to order item of Link list programmatically. We can do this easily using SharePoint browser.</p>
  
  <p>How to do this using SharePoint UI.
  Goto List->Modify Views.
  There is "Sort" option "Allow users to order items in this view? ".</p>
  
  <p>But I need to do this programmatically and the accessor "SPView.OrderedView" is read only so I am struck.</p>
  
  <p>I can however change the sorting columns using CAML.</p>
  
  <p>Any suggestion will be greatly appreciated.</p>
  
  <p>Thanks
  Prakash Tandukar</p>