Answer is. gas has the highest entropy.
Entropy is the measure of the molecular disorder and it is system’s thermal energy per unit temperature that is unavailable for doing useful work.
Nitrogen molecules have weakest intermolecular bonds in gas phase and move fast and without order. In solid state movement is much more less.