Fix GROUP BY when order of entries is different from order in target list.
Fix GROUP BY when order of entries is different from order in target list.

lisakowen/gpdb,arcivanov/postgres-xl,zaksoup/gpdb,rvs/gpdb,cjcjameson/gpdb,rubikloud/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,ahachete/gpdb,chrishajas/gpdb,jmcatamney/gpdb,Quikling/gpdb,atris/gpdb,chrishajas/gpdb,xuegang/gpdb,zaksoup/gpdb,edespino/gpdb,royc1/gpdb,edespino/gpdb,zaksoup/gpdb,Chibin/gpdb,lpetrov-pivotal/gpdb,randomtask1155/gpdb,Quikling/gpdb,royc1/gpdb,ovr/postgres-xl,chrishajas/gpdb,janebeckman/gpdb,greenplum-db/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,edespino/gpdb,CraigHarris/gpdb,foyzur/gpdb,zaksoup/gpdb,ashwinstar/gpdb,royc1/gpdb,ahachete/gpdb,rubikloud/gpdb,atris/gpdb,yuanzhao/gpdb,CraigHarris/gpdb,randomtask1155/gpdb,Chibin/gpdb,Quikling/gpdb,Quikling/gpdb,cjcjameson/gpdb,oberstet/postgres-xl,janebeckman/gpdb,adam8157/gpdb,rvs/gpdb,zaksoup/gpdb,oberstet/postgres-xl,ashwinstar/gpdb,pavanvd/postgres-xl,yuanzhao/gpdb,cjcjameson/gpdb,xinzweb/gpdb,adam8157/gpdb,ashwinstar/gpdb,lintzc/gpdb,janebeckman/gpdb,Postgres-XL/Postgres-XL,0x0FFF/gpdb,CraigHarris/gpdb,greenplum-db/gpdb,atris/gpdb,Postgres-XL/Postgres-XL,xuegang/gpdb,yazun/postgres-xl,ahachete/gpdb,pavanvd/postgres-xl,edespino/gpdb,Chibin/gpdb,xinzweb/gpdb,postmind-net/postgres-xl,jmcatamney/gpdb,jmcatamney/gpdb,janebeckman/gpdb,arcivanov/postgres-xl,adam8157/gpdb,rvs/gpdb,Quikling/gpdb,jmcatamney/gpdb,lintzc/gpdb,snaga/postgres-xl,rubikloud/gpdb,janebeckman/gpdb,rubikloud/gpdb,zeroae/postgres-xl,zaksoup/gpdb,ashwinstar/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,rvs/gpdb,kaknikhil/gpdb,snaga/postgres-xl,lintzc/gpdb,lpetrov-pivotal/gpdb,ovr/postgres-xl,postmind-net/postgres-xl,rvs/gpdb,cjcjameson/gpdb,edespino/gpdb,zaksoup/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,Chibin/gpdb,Quikling/gpdb,atris/gpdb,lisakowen/gpdb,snaga/postgres-xl,rvs/gpdb,rubikloud/gpdb,Chibin/gpdb,50wu/gpdb,CraigHarris/gpdb,greenplum-db/gpdb,50wu/gpdb,Quikling/gpdb,tangp3/gpdb,edespino/gpdb,xuegang/gpdb,royc1/gpdb,kaknikhil/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,adam8157/gpdb,zeroae/postgres-xl,ahachete/gpdb,xuegang/gpdb,royc1/gpdb,foyzur/gpdb,royc1/gpdb,ovr/postgres-xl,yuanzhao/gpdb,cjcjameson/gpdb,0x0FFF/gpdb,0x0FFF/gpdb,arcivanov/postgres-xl,postmind-net/postgres-xl,arcivanov/postgres-xl,techdragon/Postgres-XL,lpetrov-pivotal/gpdb,cjcjameson/gpdb,50wu/gpdb,kmjungersen/PostgresXL,rubikloud/gpdb,randomtask1155/gpdb,xuegang/gpdb,ahachete/gpdb,CraigHarris/gpdb,zeroae/postgres-xl,tangp3/gpdb,ashwinstar/gpdb,tangp3/gpdb,tpostgres-projects/tPostgres,adam8157/gpdb,oberstet/postgres-xl,postmind-net/postgres-xl,yuanzhao/gpdb,ashwinstar/gpdb,arcivanov/postgres-xl,kaknikhil/gpdb,lisakowen/gpdb,CraigHarris/gpdb,foyzur/gpdb,foyzur/gpdb,techdragon/Postgres-XL,kaknikhil/gpdb,edespino/gpdb,rvs/gpdb,foyzur/gpdb,kmjungersen/PostgresXL,kmjungersen/PostgresXL,janebeckman/gpdb,tpostgres-projects/tPostgres,50wu/gpdb,janebeckman/gpdb,0x0FFF/gpdb,xinzweb/gpdb,Quikling/gpdb,atris/gpdb,tpostgres-projects/tPostgres,foyzur/gpdb,yazun/postgres-xl,lpetrov-pivotal/gpdb,ahachete/gpdb,jmcatamney/gpdb,chrishajas/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,foyzur/gpdb,xinzweb/gpdb,zaksoup/gpdb,yuanzhao/gpdb,randomtask1155/gpdb,kmjungersen/PostgresXL,snaga/postgres-xl,50wu/gpdb,lisakowen/gpdb,janebeckman/gpdb,janebeckman/gpdb,adam8157/gpdb,snaga/postgres-xl,kaknikhil/gpdb,rubikloud/gpdb,rubikloud/gpdb,kmjungersen/PostgresXL,randomtask1155/gpdb,kaknikhil/gpdb,chrishajas/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,edespino/gpdb,yuanzhao/gpdb,lintzc/gpdb,pavanvd/postgres-xl,randomtask1155/gpdb,rvs/gpdb,0x0FFF/gpdb,randomtask1155/gpdb,lpetrov-pivotal/gpdb,arcivanov/postgres-xl,atris/gpdb,lintzc/gpdb,50wu/gpdb,tpostgres-projects/tPostgres,lisakowen/gpdb,chrishajas/gpdb,CraigHarris/gpdb,tangp3/gpdb,pavanvd/postgres-xl,greenplum-db/gpdb,lintzc/gpdb,0x0FFF/gpdb,50wu/gpdb,adam8157/gpdb,atris/gpdb,chrishajas/gpdb,Postgres-XL/Postgres-XL,Chibin/gpdb,lintzc/gpdb,Chibin/gpdb,ahachete/gpdb,xinzweb/gpdb,Chibin/gpdb,tangp3/gpdb,50wu/gpdb,janebeckman/gpdb,yazun/postgres-xl,jmcatamney/gpdb,edespino/gpdb,CraigHarris/gpdb,lisakowen/gpdb,royc1/gpdb,greenplum-db/gpdb,foyzur/gpdb,ovr/postgres-xl,Postgres-XL/Postgres-XL,ashwinstar/gpdb,Postgres-XL/Postgres-XL,xinzweb/gpdb,tangp3/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,techdragon/Postgres-XL,lintzc/gpdb,ovr/postgres-xl,xuegang/gpdb,adam8157/gpdb,pavanvd/postgres-xl,lpetrov-pivotal/gpdb,jmcatamney/gpdb,lisakowen/gpdb,chrishajas/gpdb,edespino/gpdb,xuegang/gpdb,kaknikhil/gpdb,xinzweb/gpdb,tangp3/gpdb,randomtask1155/gpdb,xinzweb/gpdb,oberstet/postgres-xl,yazun/postgres-xl,lisakowen/gpdb,Quikling/gpdb,rvs/gpdb,techdragon/Postgres-XL,ahachete/gpdb,oberstet/postgres-xl,cjcjameson/gpdb,xuegang/gpdb,yazun/postgres-xl,postmind-net/postgres-xl,Chibin/gpdb,Quikling/gpdb,techdragon/Postgres-XL,rvs/gpdb,tpostgres-projects/tPostgres,zeroae/postgres-xl,jmcatamney/gpdb,greenplum-db/gpdb,tangp3/gpdb,zeroae/postgres-xl,xuegang/gpdb,atris/gpdb,royc1/gpdb,lintzc/gpdb,lpetrov-pivotal/gpdb,Chibin/gpdb