sort output of env