Modify the order by of one mysql query