How to sort Apple Mail folders in alphabetical order

How do you fix Apple Mail to sort folders in alphabetical order?

MacBook Pro (2017 – 2020)

Posted on Apr 18, 2023 8:10 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 18, 2023 8:22 AM

I have had this issue with Apple mail for a long time. Never found a proper answer for how to make Apple mail go back to sorting folders in alphabetical order. I realized from a couple articles that if you manually re-order your folders, the application switch is from automatic alphabetical, ordering to manual sorting


First, quit Mail.


From the Finder, Select Go > Library > Mail


Find the directory entitled "V_". It will be a number like "V5" or "V9" etc.


In that folder will be a series of other directories with long names — letters and numbers. Each representing a different email account.


You will need to look inside each to see which one is the right account.


Once you are in the correct directory, do the following keystroke: "Command + Shift + ." {Note: that last one is a period}. This will allow you to see hidden files.


Find the file ".mboxCache.plist" and rename it — ex. ".mboxCache_backup.plist" — so you are not deleting it.


Then, just open up Mail again. Ta da! Back to sorting alphabetically.

29 replies
Question marked as Top-ranking reply

Apr 18, 2023 8:22 AM in response to stumpjumper

I have had this issue with Apple mail for a long time. Never found a proper answer for how to make Apple mail go back to sorting folders in alphabetical order. I realized from a couple articles that if you manually re-order your folders, the application switch is from automatic alphabetical, ordering to manual sorting


First, quit Mail.


From the Finder, Select Go > Library > Mail


Find the directory entitled "V_". It will be a number like "V5" or "V9" etc.


In that folder will be a series of other directories with long names — letters and numbers. Each representing a different email account.


You will need to look inside each to see which one is the right account.


Once you are in the correct directory, do the following keystroke: "Command + Shift + ." {Note: that last one is a period}. This will allow you to see hidden files.


Find the file ".mboxCache.plist" and rename it — ex. ".mboxCache_backup.plist" — so you are not deleting it.


Then, just open up Mail again. Ta da! Back to sorting alphabetically.

Nov 13, 2023 11:01 PM in response to stumpjumper

I just came across the answer to this by trial and error 5 minutes ago.


Create a new master folder. ie: if the master folder is "Clients", then make a new folder at the same level as that one and call it something similar, like "Clients 2". Then simply select all the folders in the "Clients" folder and drag them (move) them to the "Clients 2" folder. They will all appear in alphabetical order now. Make sure you don't have any emails in that master folder, if so, then drag them over too. Check that it's empty, and then simply delete the original one and rename the new one to the original's name.


Hope that helps!

Nov 21, 2023 10:38 AM in response to rony-z

Alright, well, I'm really not sure if this will work, but it's worth a try.


Ok, so you're running Sonoma. Go to your System Settings, then go to Internet Accounts and choose your iCloud account. Click on iCloud Mail, and turn off "Sync this Mac". Close this and the other System Settings windows. Restart your Mac. Open Mail. Close Mail, then go back to System Settings/Internet Accounts/iCloud/iCloud Mail and re-anable that option to sync your iCloud Mail. Re-open Mail.app. Hopefully when it reloads your mailboxes, it will put them in alphabetical order! Hopefully!!! Fingers crossed!

Jan 9, 2024 4:59 PM in response to stumpjumper

This isn't very 'techie' but I renamed the email folders in my Mac Inbox (I'm still using High Sierra) starting with the ones I wanted to appear at the bottom so that, of the 10 folders allowed under Inbox, the few I wanted to access most frequently: Amazon Prime and Music, got pushed to the top so they'd be in my field of vision whenever I was in my Inbox. Here's what it looked like:

Jun 4, 2024 6:28 AM in response to FUNos

Fire this man! Come to find out, you will need to rebuild ALL your mailboxes after this task. I now either have to drill down and individually expand all folders or find out how to expand them ALL simultaneously. All folders must be in view in order to select them as a group for the rebuild process. Rebuilding is going to take a while. Thanks a lot stumpjumper! lol

Jun 28, 2024 12:16 PM in response to stumpjumper

I have a MacBook Pro 14". I am trying to alphabetize my mailboxes by name. You said go to finder, select go, library, mail. There is no "select go" when I open my finder.


This is so infuriating that a simple task like this hasn't been fixed by Apple. Really! I shouldn't have to jump through hoops and go thru gyrations to do something so simple as alphabetizing. I am going to look for a better app, outside of Apple, that makes this possible and easy to do.


Apple WTF?


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to sort Apple Mail folders in alphabetical order

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.