Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

When I want sort my files and folder in Finder (specially sort by name) they sort all item by name mixing folders and files together. I want a way that sorts (like Windows) first all folders by name then all other items by name. How can I do this?

share|improve this question

6 Answers 6

up vote 8 down vote accepted

There's no built in feature in the Finder to achieve that, but with the "plugin" TotalFinder you can get that. It's located under the "Tweaks" tab in the TotalFinder settings.

Edit: There was a screenshot here, but it was out of date. Look at Robsofts answer instead for an up-to-date screenshot!

share|improve this answer
    
I install it but I can't find my answer in this program. 1- my install version was newer than you and my Tweaks setting is different from yours. 2-it's in alpha version and expire then it's not good for me. 3-can you explain which part is related to my answer? –  Am1rr3zA Aug 19 '10 at 18:38
    
I too have the latest version, but I have swedish as my system language so a screenshot from my computer would probably be even more confusing. But in the latest version it's still the setting that's located second to top in the Tweaks tab. And when the alpha expire there will probably be a new one released or the final version will be released, which will cost 15$ according to the developers website. –  Nagon Aug 19 '10 at 22:20
    
Thanks for the link to TotalFinder, I'm finding it very useful already. I like the hidden files view - nice and grey rather than same colour as normal files, and the tabs are proving useful too. –  robsoft Aug 20 '10 at 9:00
    
@Am1rr3zA - see my answer below for a picture of the current tweaks screen. –  robsoft Aug 20 '10 at 9:04

There is a Finder replacement called Path Finder that will do what you want. It's a bit more expensive but it does do a lot more than just a regular finder window.

share|improve this answer
    
+1 to sole your -1, because I thought your answer was related. I don't know who give you -1 and why! –  Am1rr3zA Aug 19 '10 at 22:45
    
but it was not what I mean, path finder was a separate program and also didn't what I want! –  Am1rr3zA Aug 19 '10 at 23:50

Related to the Total Finder answer above (so please don't vote for this answer), here's a picture of the current TF tweaks page (you get to it from the Finder's Preferences screen). With these options I definitely get the folders at the top of the list.

You can also control this from the VIEW menu in Finder, once TF is installed.

Snapshot of current Total Finder tweaks screen

share|improve this answer
    
Tanx for your help, but why don't vote for your answer? –  Am1rr3zA Aug 20 '10 at 9:44
    
@Am1rr3zA - TotalFinder was @Nagon's answer really - if you were allowed to paste images into comments then I would have just put this image below his/her answer. :-) –  robsoft Aug 20 '10 at 11:19
    
ok I got it, but I vote you for your help, and accept and vote @nagon answer. –  Am1rr3zA Aug 20 '10 at 11:40
    
@robsoft - If you don't mind I can put your image in my answer or at least point to your answer in some way? :) –  Nagon Aug 20 '10 at 12:05
    
@Nagon - by all means, be my guest! :-) –  robsoft Aug 20 '10 at 14:10

XtraFinder is free plugin for Finder that allows you to sort folders before files, by selecting "Arrange folders on top" in the Preferences.

After installing and running it, you can tune folder sorting and many other aspects of Finder behavior.

share|improve this answer
    
this is a great solution, as it's not a hack, lets you continue using Finder, and it's free. –  gabor Jan 11 '13 at 0:06

Here is a method that involves a plist setting, and no plugin, or third party app.

To summarize:

Show Package Contents of Finder.app (located in System/Library/CoreServices

Drill down to Contents > Resources > English.lproj. > InfoPlist.strings

Locate the string “Folder” = “Folder”;

Add a leading space before the second Folder as follows: “Folder” = “ Folder”;

Save InfoPlist.strings to the same location (backup elsewhere if desired)

Relaunch Finder (Ctrl+Option+Click)

Open new Finder window and sort files by Kind

share|improve this answer
    
Answers on Ask Different need to be more than just a link. It's okay to include a link, but please summarize or excerpt it in the answer. The idea is to make the answer stand alone. –  Daniel Lawson Aug 27 '13 at 14:18
    
I will check your solution when I have time, and if it works for me I'll change the accepted answer. –  Am1rr3zA Aug 28 '13 at 0:20

This is possible by having icons displayed as list (Cmd + 2) in Finder window. First click on the [Name] column header (this will sort all files by name), then click on [Kind] column header (this will sort items by kind, but keep the name sorting in groups).

share|improve this answer
    
This won't just sort out files, it will group by file type. Folders won't appear first and all file types will be separately sorted. –  Josh K Aug 19 '10 at 17:30
    
it's a nice trick, but I want can do this in all form not just in cmd + 2 form. but tanx for your answer. –  Am1rr3zA Aug 19 '10 at 18:09

Your Answer

 
discard

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.