added order by keywork in the sql string