Skip to Content

Mac 101: Finder filename sorting

The neat-freaks among us (myself included) enjoy keeping things in their particular place and order. When making a folder of files, sometimes I want items to fall outside their alphabetical order -- for instance, often I like to have a special folder that's always at the top of a list.

The easiest way to do that is to name your folders with a symbol as the first letter in the file or folder name: like a space, an underscore ( _ ), or a tilde ( ~ ). Mac OS X determines the order of these special characters using your language settings in the International pane in System Preferences.

The names of files and folders in Mac OS X can use almost any character out of thousands of Unicode characters, which include symbols, arrows, and icons as well. There are only two characters you can't use: one is the colon (because it's used by the system). You also can't usually use periods (or full stops) as the first character in a file name (because they're reserved for hidden files).

Also, as far as Mac OS X is concerned, the folder name "AARON" is the same as the folder name "Aaron" (or "aaron" for that matter): this is called case insensitivity. Mac OS X filenames are considered case insensitive.

After the jump, a list of 112 common, easy-to-type characters, and how they're sorted by Mac OS X for English.

This list appears in the order that Mac OS X sorts filenames. So, for example, ~filename would appear in a list above _filename. The key combinations in the list are suited for U.S. English keyboards, so if you use U.K. English or another language, the keystrokes to create the characters shown may vary slightly.

Also, in the list, the shift key is noted with the ⇧ icon, and the option key is noted with the ⌥ icon. Press the keys indicated together to get the character shown. Some keys, like [comma] and [single quote] are noted in text, because they're a little hard to see on screen.

Character Keys to press (US English)
space
` [backtick]
˜ ⇧ [backtick]
^ ⇧ 6
˙ ⌥ h
˚ ⌥ k
_ ⇧ [hyphen]
- [hyphen]
⌥ [hyphen]
, [comma]
; [semicolon]
! ⇧ 1
¡ ⌥ 1
? ⇧ /
... ⇧ [colon]
' [single quote]
" ⇧ [single quote]
( ⇧ 9
) ⇧ 0
[ [
] ]
{ ⇧ [
} ⇧ ]
§ ⌥ 6
⌥ 7
© ⌥ g
® ⌥ r
@ ⇧ 2
* ⇧ 8
/ /
\ \
& ⇧ 7
# ⇧ 3
% ⇧ 5
⌥ t
⌥ 8
⌥ d
⌥ j
⌥ w
+ ⇧ =
÷ ⌥ /
< ⇧[comma]
= =
⌥ =
> ⇧ [period]
¬ ⌥ l
| ⇧\
~ ⇧ [backtick]
⌥ v
⌥ 5
⌥ b
⌥ x
⌥ [comma]
⌥ [period]
¢ ⌥ 4
$ ⇧ 4
£ ⌥ 3
¥ ⌥ y
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 1 (then) 0
11 1 (then) 1
a a
ª ⌥ 9
á ⌥ e (then) a
â ⌥ i (then) a
å ⌥ a
ä ⌥ u (then) a
æ ⌥ [single quote]
b b
c c
ç ⌥ c
d d
e e
f f
ƒ ⌥ f
g g
h h
i i
j j
k k
l l
m m
n n
o o
º ⌥ 0
ø ⌥ o
œ ⌥ q
p p
q q
r r
s s
ß ⌥ s
t t
⌥ 2
u u
v v
w w
x x
y y
z z
µ ⌥ m
π ⌥ p
Ω ⌥ z


Categories

Mac 101

The neat-freaks among us (myself included) enjoy keeping things in their particular place and order. When making a folder of files,...
 

Add a Comment

*0 / 3000 Character Maximum

29 Comments

Filter by:
P120D1GY

Anyone know how to use Finder to always display folders on top (without a character hack)? I found a pretty cool app called Path Finder which does it, but is there a way to do this via Finder?

Thanks!

http://www.digitalassassin.com

July 23 2008 at 3:15 PM Report abuse rate up rate down Reply
jcecorn

problem with letting fat32 die is it is the only read/write solution that works between macos and windows currently. use NTFS for read is ok. but, macos cannot write to it. so, for many who go back and forth between machines, fat32 is still the only viable option.

and, here's a weird one: ever since i got my first 10.5 machine, the tilde (~) now sorts last...at least in indesign modal dialogs using column view (list view will sort fine when clicking the column header). any idea how to fix this?

July 01 2008 at 4:16 PM Report abuse rate up rate down Reply
flo

yeah, fat32 scuks big time, if you have to use windows, really use ntfs.
The one issue I have with OS X at the moment, why is there no option to sort all the folders to the top (like in every reasonable OS), without using a third party program or special character in the filename? would make working in finder much easier I think.

June 27 2008 at 9:26 AM Report abuse rate up rate down Reply
Daniel

I am sick of complains about incompatibilities with old shit like FAT32. Let it die.

June 26 2008 at 5:45 PM Report abuse rate up rate down Reply
matt.boes

As another sysadmin, please DO NOT DO THIS. The underscore as a starting character is fine, but the second you try to copy these files to, for example, an external hard drive with a FAT32 file system, you will have a lot of problems. If your files will only ever touch HFS+ for their entire lives, you might be able to get away with this, but that's even impossible to guarantee in Snow Leopard. Even worse-when you try to copy a large folder filled with files like this to another file system, Finder will copy all of them until it hits an incompatible one and then error out. It's up to you, or your poor sysadmin, to figure out which file caused the problem and fix it.
Again- DON'T DO THIS. TUAW-a disclaimer please? This is a little bit irresponsible...

June 26 2008 at 2:38 AM Report abuse rate up rate down Reply
hamish.lancaster

I use [ to start my special folder names. works nicely.
then I have [folder or [ folder depending on which one is even more special (and therefore higher up)

June 25 2008 at 9:39 PM Report abuse rate up rate down Reply
imatt

This just refueled my ire from when they started listing numerals after alpha characters (circa iTunes 7) and 10.4.7-ish. I love NIN, and list the albums by Halo number to keep them in chronological order (ie "01 Down In it ... 02 Pretty Hate Machine ... etc.) This bummed me out hardcore when everything shifted to the bottom. Any way to make a custom sort other than adding more chars to the beginning?

June 24 2008 at 7:19 PM Report abuse rate up rate down Reply
1 reply to imatt's comment
Olligarski

imatt: You can sort album by year!

Click Album column headline to cycle.

June 26 2008 at 2:01 AM Report abuse rate up rate down Reply
Fairly

"Also, as far as Mac OS X is concerned, the folder name "AARON" is the same as the folder name "Aaron" (or "aaron" for that matter): this is called case insensitivity. Mac OS X filenames are considered case insensitive."

Sooner or later we're going to have to progress beyond that. AARON, Aaron and aaron should all sort before BETA, Beta, and beta. But AARON should always sort before Aaron should always sort before aaron. Check your hardcopy dictionary.

June 24 2008 at 5:05 PM Report abuse rate up rate down Reply
David Nieporent

For those people who use the keyboard to navigate, starting names with spaces is a bad idea. Try typing the first letter of the file to select it. Whoops! Quick look!

June 24 2008 at 5:01 PM Report abuse rate up rate down Reply
justareader

I've been using the trick a couple of years. (prepending underscores to folder names to keep them 'floating' at the top of your column/list view)

You can even use multiple underscores (e.g. '__priority_stuff') to have *those* folders float above all others. Of course, it is possible to get carried away (e.g. '_______absolutely_most_important_stuff', etc) at which point it's probably better to refactor your folder organization anyway)

June 24 2008 at 4:28 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.