switch to using 'sorted(keys)' to make code compatible with future python
switch to using 'sorted(keys)' to make code compatible with future python

fermiPy/fermipy,jefemagril/fermipy,jefemagril/fermipy,jefemagril/fermipy