Fixed sorting of LocalCorr ouptus

More general solution by reverse indexing keys
Merge branch 'master' into loading-formats

Conflicts:
	python/thunder/timeseries/localcorr.py