Mac Desktop Stacks Look Odd? Fix Stack Order
Desktop Stacks group your files in ways that look wrong, with folders mixed into odd piles. The grouping rule is the culprit, not your files. Check how Stacks sorts, pick the right grouping, and the desktop makes sense again.

TL;DR / Quick Fix
Quick fix: right-click the desktop, choose Group Stacks By, and pick a grouping that matches how you work, such as Kind or Date Added. Expand a stack to check the result before changing again. Then test the fix for a full day before changing anything else.
Follow these steps
- See how Stacks groups now. Right-click the desktop and look at Group Stacks By to see the current rule. Knowing the rule explains why folders landed where they did.
- Pick a grouping that fits you. Choose Kind to separate folders from files, or Date Added to see recent work together. Pick one rule and stick with it for a while.
- Expand a stack to check. Click a stack to expand it and confirm its contents make sense. If a stack still looks odd, the grouping rule is still not right for you.
- Move stray files into folders. Move loose desktop files into named folders, then let Stacks regroup. Fewer loose files means cleaner stacks, whatever rule you choose.
- Sort the desktop itself. Right-click the desktop and choose Sort By, then pick a matching order, such as Name or Date Modified, so the desktop and stacks agree.
- Turn Stacks off to compare. Turn Use Stacks off briefly and look at the desktop ungrouped. If the files themselves are messy, tidy them first, then turn Stacks back on.

What NOT to do
- Do not delete files from a stack to tidy it. Deleting hides the mess by destroying files you may still need.
- Do not change the grouping rule every few minutes. Give one rule a fair test, or you will never learn what works for you.
- Do not store everything on the desktop. A desktop with hundreds of files will look odd under any grouping rule.
- Do not ignore folders inside stacks. A folder inside a stack still counts, so check expanded stacks, not just their labels.
Frequently asked questions
Why are folders mixed with files?
The grouping rule groups by something other than Kind. Switching to Kind separates folders from files clearly.
Can I group by more than one thing?
No. Stacks uses one grouping rule at a time, so pick the single rule that helps you most.
Will turning Stacks off delete files?
No. Turning Stacks off only ungroups the desktop view; your files stay exactly where they are.