"redhog" <redhog(at)redhog(dot)org> writes:
> My question was if the order of two
> elements whose internal order is not affected by the current ordering
> clause, still may change places due to technicalities.
Postgres usually sorts using qsort(), which (on most platforms) is not
stable in that sense.
regards, tom lane