On 2015-04-08 11:33, Glyn Astill wrote: > The collation of your "bnl" database is utf8, so the "." punctuation > character is seen as a "variable element" and given a lower weighting in > the sort to the rest of the characters. That's just how the collate algorithm works in UTF8. > Try with LC_COLLATE = 'C' and it should sort how you expect. > Ok. And as Chris Mair says in his answer, it looks like the '.' is ignored, and then I see the pattern Thanks -- Björn -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general