結果 : postgres select distinct order by another column