Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What character to use to put an item at the end of an alphabetic list? [closed]

People also ask

What are special characters and symbols?

A special character is one that is not considered a number or letter. Symbols, accent marks, and punctuation marks are considered special characters. Similarly, ASCII control characters and formatting characters like paragraph marks are also special characters.


I found this thread while wanting folders that sort after Z in Finder on Mac OSX. After several false paths and trial and error, here's what I found:

Characters that sort after Z in Finder (in sort-order)

  • z Lower case Z
  • ι Greek letter
  • Ι Greek letter, capital version of above character, not an "I")
  • Ω Omega
  • 一 Japanese Character? (Thanks, Jam)
  • 口 Japanese character? (Thanks, Jam)
  • 末 Japanese character "End" (Thanks, Jam)
  •  (a private use character) (Thanks, Peter O.)

These are characters others here and in other places on the web, mentioned sort after Z, but that I found DO NOT sort at the end, at least when sorting by name in Finder on Mac:

† ∆ ~ - ſ [ ø ■ |


The Special lead-in Character that will put your folder at the end of the list without having to resort to using the "z" combo: U+E83A: Private Use. In fact, I believe any of the Private Use characters will work. () Just copy and paste the character between the brackets.


Don't mess up things using strange characters!

I would not suggest using Private Use characters or non-printable characters because they can really mess up the things when you access your folder from terminal or programming languages. I had annoying issues using 末 or other special characters. For example, using Python 2.7, this is how you will see your folders with the non-printable characters Ω, 末, 口,.

os.listdir(os.getcwd())
Out[2]: ['\xe6\x9c\xab ', '\xe5\x8f\xa3 ', '\xce\xa9 ', '\xee\xa0\xba ']

For someone or something using your folder structure, accessing the folder would be very confusing (and you can see it from the comments like this to the top answer).

So I created a folder with this at the beginning of the name on my Sharepoint drive and now it's there and I can't access it or delete it. :| – Rather Notsay Jun 28 '16 at 21:05

Of course, you can print them, but why make the things so unnecessarily complex? If you want to stay on the safe side, I would suggest using standard characters. Which is the last one depends on your File manager. So here is some code that creates a bunch of folders with all the printables strings in Python so you can test your file manager.

import os
import string
for i in string.printable:
      try:
            os.mkdir(i)
      except OSError:
            print('OSError for %s' %(I))

Once you have sorted by name you can get your answer.

For Windows 10 - Explorer

using standard characters after z up to my knowledge there is only zz and so on. enter image description here

So using zzNameOfTheFolder is an easy and safe way to do to that. So even if it's not nice I would recommend it.

For Mac OS X El Capitan - Finder

enter image description here

The z is the last character but note that there is no distinction between capital letters so a folder named zz can't be stored in the same directory of a folder ZZ

For Ubuntu 16.04 - Nautilus

enter image description here

The hashtag # is the last character. But if you want some more compatibility with other file managers I would use ZZ.

Something more elegant than "z_item"?

I guess this depends on your own concept of elegance and I think StackOverflow should diffuse best and safest practices, not the most elegant. However, in many cases, symmetry can help. What about these safe perhaps more elegant solutions:

ZZFoldernameZZ
Zz-Folder name-zZ
zZ-Folder name-Zz
zZFolderNameZz
zzFoldernamezz

Despite being years later I wanted to contribute as none of the previously provided answers worked for me. For reference I'm running win7 ultimate SP1.

The solution I landed on resulted from noticing that any files I made for use with Japanese speaking contacts ended at the end of the file list. Apparently Japanese characters don't count as non-alphanumeric similar to hashmark, hyphen, underscore (which place files at the beginning of the list), but also come after English characters.

For my own use I ended up using the 末 character, which roughly means "end" so it makes sense to Japanese readers and is still different enough from English to not become confusing.

Alternatively I would use 口 or 一 for something more stylistically apparent. It's also worth noting that the shorthand "maru" character ○ does not work and sorts along with other non-alphabet characters at the head of the list.


I've found two characters that will put your folders at the bottom of the list. The first is "ι" and its variant "Ι". Also, the two best characters to put your folders at the front of the pack are either the No-break space " " and the bullet "·"

For the novice user (like me) who might have found this question and these answers by accident, here's a simple explanation of how to type these characters. The first is literally a space created by holding the "Alt" key & typing "0160" on your number pad and the second is the "Alt & 250" combination  (Note: A 10-key number pad is best. If you don't have one on your keyboard, see if you can figure out how to use the alternate number keypad. This is almost always different than the 1-0 keys at the top of your keyboard. Look for tiny numbers printed on the edges of your keyboard -usually the "M" "J" L" "I" "O" "P" & 7-0 keys). Or, of course, you can copy and paste the characters in the quotations above (not as easy if you frequently use them as I do).

Here's a short list of special characters to both prioritize your folders or have them appear at the end of a folder list as well as some other folder-friendly characters. Enjoy (~Peter II)

Useful Characters for Windows Explorer

     0160            No-Break Space

·    249/0183    Middle Dot

·    250/8729    Bullet operator

◦    9702           White bullet

›    0155/8250   (See Above)

∕    8275            Division slash

ι                       (End Character)

Ι                      (End Character)

✓  2713?        Check Mark

׃    Last but not least, this alt key (1475) is Hebrew Punctuation Sof Pasuq -This is a great character to use when you can be used in place of a colon)