Add ordering of pie legend following percentage. Thanks to Klaus Tachtler for the report.