Prices are sorted in increasing order