Switch works with arbitrary link array orders