Sorting metric_descriptions before outputing pyconf file

Change-Id: I22fb1d36a6dbfcdf96064808ef636dfa769db8dd