/**
  * @dataProvider environmentsProvider
  * @preserveGlobalState disabled
  *
  * @param Environment $env
  * @param array $result expected results
  */
 public function testGetSortOrder($env, $result)
 {
     $request = Request::createFromEnvironment($env);
     $datatableRequest = new DatatableRequest($request);
     $this->assertEquals($result['sortorder'], $datatableRequest->getSortOrder());
 }
 /**
  * @return string
  */
 protected function getSortOrder()
 {
     return $this->request->getSortOrder();
 }