Added order by with limit, and having clause

order by with one or more metrics in ascending or descending order;
limit returned result
having clause with logic operators. No custom aggregation function yet.