class Product:
    def __init__(self, name, price):
        self.name = name
        self.price = price

    def __repr__(self):
        return f"Product(name='{self.name}', price={self.price})"

    def __lt__(self, other):
        # Define comparison based on price
        return self.price < other.price

products = [
    Product("Laptop", 1200),
    Product("Mouse", 25),
    Product("Keyboard", 75),
    Product("Monitor", 300)
]

# Sort directly using the defined __lt__ method
sorted_products = sorted(products)
print(f"Sorted products: {sorted_products}")