bug fixes in linking aliases of order and group by clauses, fixed bug that erroneously added aliases to SELECT clause if column alias was mentioned in group and order clause