2

According to Wikipedia's Codepage Layout, its is as follows:

! " # $ % & ' ( ) * + , - . / 0-9 : ; < = > ? @ A-Z [ \ ] ^ _ ` a-z { | } ~

But (excepting /), filenames beginning with these character are sorted by name differently:

! " # % & ' ( ) * + , - : ; < = > ? @ [ \ ] ^ _ ` { | } ~ 0-9 $ a A z Z

Why is this? Does it have to do with the file system? File Manager? Locale? Something else?

Kraus
  • 41
  • 1
  • 1
  • 3

1 Answers1

1

The sort order is controlled by the LC_COLLATE category of the locale settings. It doesn't depend on the character encoding.

Note that some programs, especially command line programs, may not use the locale settings for sorting.

Florian Diesch
  • 86,013
  • 17
  • 224
  • 214