Updates in supplementer.pl, sorting hashes before submitting to templates for easier parsing