fix when in order by