Tomi NA <hefest(at)gmail(dot)com> writes:
> You were right about this:
> LC_ALL=3Dhr_HR.UTF-8 sort < test.txt
> (seemingly) collates the same way that pgsql does. Accented letters at the
> end of the alphabet. I've tried hr_HR.UTF8 as well, without results.
If you're not sure what locales are available on your system, run
"locale -a". I don't think "sort" will complain about an unknown locale
setting, it'll probably just fall back to "C" locale.
regards, tom lane