Add templatelang setting and sort keys when printing all settings.
Also sort keys when printing the default settings.