LENS-126 : Fixes jdbc driver rewriting with respect to aliases in orderby clause (Sushil Mohanty via amareshwari)