Do an in-place shuffle, no need for a tmp variable