Fixed lex. sorting in PG on linux