Answer:
The entropy of the gas increases
Step-by-step explanation:
The entropy of an isolated system tends to increase. but this gas gas is not isolated. It has a piston perfoming work on it and it can exchange heat with it's surroundings.
While the system's entropy decreases, the surroundings' entropy increases, and the entropy change of the universe, which is the sum of the entropy changes of the system and the surroundings, will be equal or greater than zero.