fix bug #3903 and retaing ORDER BY preference when query having ORDER BY...

... clause without backquoting

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>