0

first i want to sort the price but if the price it's Equal i want sort the name

.sort((a, b) => a.price < b.price ? 1 : -1)

0 Answers0