Level 80
i want to order products in ascending or descending by using both prices, how can i do this?
@uzairali And how exactly are you intended to sort something by two values?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I stuck in a scenario, i am working on ecommerce website in which a product have two prices min_price and max_price now i want to order products in ascending or descending by using both prices, how can i do this?
Please or to participate in this conversation.