added sort method to hash iteration in python.conf.erb