Change query time stamp order by.