fixed bug introduced with commit: df4d8a523860eaa60547539188faf4fed1d7cf74
Merge pull request #157 from niphlod/issue/orderby_limitby_groupby

fixed bug introduced with commit "no more removal of ORDERBY in MSSQL"