Fix for MODULES-1384 that sorts the keys from wsgi_script_aliases before creating the template.

 When parsing wsgi_aliases, sort the keys then generate the underlying template.