re-order $known_switches