@@ -9,7 +9,7 @@ class ProductService
{
public function getAll(): Collection
- return Product::orderBy('created_at', 'desc')->get();
+ return Product::orderBy('name')->get();
}
public function getAllForSelect(): Collection