Detection of oxygen ordering in superconducting cuprates