Looking at the specs for the camera, it appears that yes, this card should work with the Sony A5100, though a 32GB may not hold as many pictures as you'd like. I would recommend an SDXC in a 64GB or higher, since the camera in question is 24 MP.
Sony - SF-UX2 Series 64GB SDXC UHS-I Memory Card
(8)