Orbital physics in sulfur spinels: ordered, liquid and glassy ground states