Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How does windows maintain the sort order in my menus?

How does windows maintain the sort order in my menus?

The short answer? In the registry, of course.

The Start and Favorites menus typically have what I can best
describe as a random order. It’s not really related to how things are
kept on disk, but rather the order in which things have been added to
the menu.

Become a Patron of Ask Leo! and go ad-free!

When a Start or Favorite menu (or any sub menu thereof) is
displayed you can, of course, right click on it and select “Sort by
Name” to get the menu items in alphabetical order. Or you can
click-and drag individual items to move them around into the order you

So just where does Windows keep the display order?

The first part is actually easy. The order of items in the Start and
Favorites menus are kept in a per-user registry key:


The problem is that the individual entries are somewhat complex
and naturally undocumented. Here’s one person’s attempt at
MenuOrder registry values,
out at

Since I haven’t tried it I can’t recommend it, but apparently deleting
the MenuOrder registry key causes Windows to sort alphabetically by default. Windows
also seems to continue to try to recreate the key, so deleting it is something
you’d need to do each time you log in. Here’s a tidbit on that:
How can I automatically keep my Windows Start menu sorted?
from JSI, Inc.

Remember that if you do end up making changes to your
registry, back it up

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.