adding explict order by

pg and mysql may default differently