added order by statement to parser