I'm trying to order a set of results but for some reason it doesn't get ordered properly. Am i making some kind of a mistake here?
$quotations = $this->Quotations->find()
->select(['Quotations.id' , 'Quotations.created' ,
'Quotations.supplier_id' , 'Quotations.approval' ,
'Quotations.region' ,'Quotations.ponumber' , 'Suppliers.id' ,
'Suppliers.name'])
->leftJoinWith('Suppliers')
->order(['Quotations.created' => 'DESC'])
->toArray();
Using CakePHP3 3.5.2