Is sandwich a masculin noun in french?

It is masculin "Un sandwich". Most foreign (to france) words are masculin :Un short, un parking, le shopping, le shampooing....