#pg_dump outputs data in disk order, so this makes comparing such outputs tricky, e.g. if doing so as a migration verification step.
In 2010 (that was long time ago!) there was an idea to add `--ordered` option, but it didn't gain enough interest: archives.postgresql.org/pgsql-hacker... .
1/