"order" in request parameters doesn't work

replaced unused/undefined use of $_REQUEST ['order'] with $params['order'] to make 'order by' functionality work properly