Postgresql Add Two Columns In Dataframe Sort