In this blog we will be seeing how to enable sorting for navigation using object model in SharePoint 2010