public function testOrderBy()
{
$results = Animal::find()->orderBy('type ASC')->toArray();
$this->assertEquals('frog', $results[0]->type);
$this->assertEquals('llama', $results[2]->type);
$results = Animal::find()->orderBy('type DESC')->toArray();
$this->assertEquals('llama', $results[0]->type);
$this->assertEquals('frog', $results[2]->type);
}