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:
But according to the ASCII, # is 35 and @ is 64. Another example is:
And the output is:
Anybody can explain this? By the way, what is 'directory-order' when using sord -d?