Sort list of present environments

So the spec doesn't fail on Linux.