.U.S. sells increased, led by the tech-heavy Nasdaq Composite, after the July producer-price index showed that factory-gate inflation slowed down somewhat from June.