Changes GROUP BY to avoid ordering and pass that to sql.order (postgresql doesn't have group by column order)
0.0.17