small fix in order by