add Order by to raw sql