Sort the environment variable table.