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

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
Merge pull request #786 from smita786/QA_4_1

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