The application locale / Defining the application locale |
The runtime system supports a sorting functionality in tables. To sort the data rows, the runtime systems uses the standard C library functions to order character strings.
The environment variable LC_COLLATE can be used to control sort order in Genero. You can for example define this variable as "C" or "POSIX" to get a binary sort order.
When using LC_COLLATE, set the LANG environment variable to define the global locale, if you use LC_ALL, it will overwrite all other LC_* variables defined.