SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Which version of SharePoint? – Dave Wise Oct 26 '11 at 15:01
SP 2010 is the version I use – Anatoly Mironov Oct 26 '11 at 17:30
up vote 1 down vote accepted

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.

share|improve this answer

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

share|improve this answer
That is exactly what I am trying to avoid - to change manually. – Anatoly Mironov Oct 26 '11 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 Oct 26 '11 at 17:38
I want to sort it alphabetically – Anatoly Mironov Oct 26 '11 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 Oct 26 '11 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. – Anatoly Mironov Oct 26 '11 at 18:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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