@@ -99,7 +99,7 @@ class Document extends ActiveRecordCommon | |||
return $this->hasMany(Order::className(), [$fieldIdDocument => 'id']) | |||
->with($defaultOptionsSearch['with']) | |||
->joinWith($defaultOptionsSearch['join_with']) | |||
->orderBy('user.lastname ASC, user.name ASC, comment_point_sale ASC'); | |||
->orderBy('distribution.date ASC'); | |||
} | |||