Super User is a question and answer site for computer enthusiasts and power users. 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

How do you sort files in OS X Finder so folders appear at the top? There doesn't seem to be any option in View Options.

share|improve this question
Good answers but I'm not sure whether to mark "3rd party" answer or "other ways to cope" answer :) Waiting for more votes. – Nick Sonneveld Sep 15 '10 at 5:11
Nick Sonneveld - After more than a year, has any of these solutions worked for you? – JRobert Oct 5 '11 at 14:03
Unfortunately, no. I have just put up with it. – Nick Sonneveld Oct 5 '11 at 23:13

10 Answers 10

You use a Finder enhancement like TotalFinder, or a Finder replacement like PathFinder. There is a lot of functionality that Finder could - and in a lot of people's opinions, should - offer, but doesn't. Sorting folders first is one such.

share|improve this answer

As @JRobert explained, there is no way to do this without third-party software.

When I switched to Mac OS X from Windows, this seemed bothersome to me as well, but after using it for a while, I don't mind it. I have adapted my workflow to use Finder in Column View and it shows which items are folders using a small triangle to the right of the item name. You can navigate by typing the first part of a file name and moving up, down, left, and right. I actually find this faster and easier to visually identify folders now.

Column View can be activated by clicking on the third button in the Finder's toolbar:

alt text

share|improve this answer
List view also shows the triange, it's to the left (and is btw really awesome in my opinion, it allows you to see the directory's and any number of subdirectory's contents at once. Sort of like merging Windows Explorer list view and the tree on the left) – Daniel Beck Sep 7 '10 at 8:23
But this doesn't allow you to drill down through folders without scrolling, scrolling, scrolling through entire lists of non-folder items at every level. – Oscar Goldman Feb 14 '13 at 2:27
Check out this article. You'll have to sort by Kind for it to work.… If you want me to post as a new answer, I will. – jsejcksn Feb 15 '13 at 5:50

There is a very hacky way to sort Folders first if you don't mind sorting by Kind.

The easiest way is to simply use a Finder replacement, as mentioned above.

share|improve this answer
Basically 1: Open /System/Library/CoreServices/‌​ist.strings. 2: Change "Folder" = "Folder"; to "Folder" = " Folder";. But it is just too hacky. – user495470 Oct 5 '11 at 16:57
the file seems different in mountain lion – jokoon Aug 2 '12 at 9:43
Yeah, that's the same hack detailed here, which no longer works. However, post #11 in this thread has some guy claiming that a slight modification to the process allows this hack to work again in Lion and Mountain Lion (I haven't checked this myself though). – Karan Oct 4 '12 at 23:02
Yeah, Mountain Lion has a new "Sort by Kind" feature which will keep folders at top in column view, but will of course sort everything else by kind (pdf, photo, text file, etc.) – ghoppe Oct 4 '12 at 23:23

In Mavericks, selecting Arrange by -> Kind either by right-clicking in a folder, or under the View menu, will group that Finder window's files according to their Kind attribute. While this doesn't place Folders right at the top, it does group them all together. In List view, I've been able to get them grouped at the top by tagging all the folders with a Blue tag, and then sorting on Tags. This puts the folders at the top, without changing their names.

share|improve this answer
I use 'Arrange by -> Kind' and It's place the Folders at the top, I use 'Column' view and 'El Capitan' – Shoully Jul 7 at 16:37

The way I do it, which is still a little annoying, is to select all files and then click on the top one and drag the cursor to the top of the folder box.

There's a spot where it will start scrolling up. not at light speed, but quickly enough. When you're all at the top, click View in the top tool bar and click Clean Up.

share|improve this answer

I had found an indirect way to work around it with almost exact correct output, with files sorted alphabetically.

I used the Automator, check it:

if making folders on top is most important. you will need to label the files also, making sure that files label alphabetically comes after folders label.

I didn't do that because labeling every thing makes them looks ugly.

share|improve this answer

Simply rename the folder in Get Info from, for example Stories to !Stories.

All these folders will now appear first in the alphabet. It takes no time, and doesn't require any interference with the computer.

share|improve this answer

I name my folders beginning with an asterisk* which forces them to the top of the alphabet.

share|improve this answer
I would be careful of using the asterisk character in a filename, as on most operating systems that is used as wild card in searching. Other character such as the underscore or the exclamation mark usually have less disastrous effects. – Eric G Feb 23 '13 at 19:41

Use an underscore.

_Folder Name

share|improve this answer

I've put together a snippet that does this a la terminal. Like others have mentioned it uses the " Folder" trick to sort folders above files and works in list view only.

Unfortunately files are sorted by kind first then alphabetically. Check the location of in the included screenshot for example.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .