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 |
Share
Categories
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
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
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?
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.
I am sick of complains about incompatibilities with old shit like FAT32. Let it die.
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...
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)
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 Permalink rate up rate down Replyimatt: You can sort album by year!
Click Album column headline to cycle.
"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.
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 Permalink rate up rate down ReplyI'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)
Hot Apps on TUAW
Deals of the Day
more deals- Verizon Leather Sleeve for Tablets for $4 + free shipping
- Wicked Jaw Breaker Noise-Isolating In-Ear Headphones for $6 + free shipping
- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3





29 Comments