public function testQueryWithOrder()
{
$query = self::$client->query()->kind(self::$kind)->order('knownDances');
$results = iterator_to_array(self::$client->runQuery($query));
$this->assertEquals(self::$data[0], $results[0]->get());
$this->assertEquals(self::$data[1], $results[1]->get());
$this->assertEquals(self::$data[2], $results[2]->get());
$this->assertEquals(self::$data[3], $results[3]->get());
$this->assertEquals(4, count($results));
}