For a long period I think the default behavior of sort program is using ASCII. However, when I input the following lines into sort without any arguments:
#
@
I got:
@
#
But according to the ASCII, # is 35 and @ is 64. Another example is:
A
a
And the output is:
a
A
Anybody can explain this? By the way, what is 'directory-order' when using sord -d?