Order and quantum phase transitions in the cuprate superconductors