orderBy('name', 'asc'); }); } public function subCategory() { return $this->belongsTo(SubCategory::class); } }