We can sort quicklaunch items directly on a website or with powershell (see a great tutorial here).

But is there an option to tell SharePoint:AspMenu in masterpage to automatically sort the quicklaunch items?

  • Which version of SharePoint?
    – Dave Wise
    Commented Oct 26, 2011 at 15:01
  • SP 2010 is the version I use Commented Oct 26, 2011 at 17:30

2 Answers 2


Modifying the masterpage for each site collection is going to be significantly more work than configuring this the appropriate way. This is the kind of setting where the powershell script you reference makes the most sense.


There is an option directly in the UI under Site Settings - Navigation - Sorting to automatically sort the list of links.

  • That is exactly what I am trying to avoid - to change manually. Commented Oct 26, 2011 at 17:31
  • One of the Sorting options is: "Automatically" that sorts the items in the navigation so they don't have to be managed manually. Once set, items in the navigation are always sorted. Are you looking to sort them some way other than alphabetically?
    – Dave Wise
    Commented Oct 26, 2011 at 17:38
  • I want to sort it alphabetically Commented Oct 26, 2011 at 18:02
  • Then the out of the box setting should work fine for you. Simply set the value in "Site Settings -> Navigation -> Sorting" to "Automatically"
    – Dave Wise
    Commented Oct 26, 2011 at 18:18
  • I am trying to avoid that - to change manually, there are too many sites... My question is still if there is an attribute in sharepoint:aspmenu for sorting behavior. Commented Oct 26, 2011 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.