fix bug #3903 and retaing ORDER BY preference when ORDER BY clause in query without backquoting