DATAJPA-375 - Fixed application of sort to queries with existing order by.

Improved existingin order by detection to detect the existing clause independent of the case. Before we only detected lower case "order by" expressions.