regression fix: sort list of Postgres tables

commit e24d1fcb02d3470af11a6a26d910e142da251246 made table names unsorted
last good release: 3.6.4
first bad release: 3.7.0