"Andrus" <eetasoft(at)online(dot)ee> writes:
> Maybe there is some setting which I can use to inform Postgres that sorting
> order is strictly by single byte, not affected by byte sequences.
AFAIK, C/POSIX is the *only* commonly used locale in which that holds.
Do you have a counterexample? (Hint: all the other ones use dictionary
sorting rules, which have at least a discrimination against spaces.)
regards, tom lane