Hi Postgresql Experts,
stuck with order by of postgresql, as data is so sensitive pasted image here of pgAdmin.
As you can see in the image that "Les" coming first and "L." is coming after. Actually, "L." should come first and then "Les". "L." is coming in few columns too, but not sorted. So any idea why this happens?
This is the definition of table ( name column ):
CREATE TABLE public.res_partner
(
id integer NOT NULL DEFAULT nextval('res_partner_id_seq'::regclass),
name character varying,
.....
.....
Here is the index created for name column for this table.
CREATE INDEX res_partner_name_index
ON public.res_partner
USING btree
(name COLLATE pg_catalog."default");
Thank you in advance for the help!
