pass params into raw query
pass in order_by as aliased column