providertemplate details sorted by template timestamp, descending

Should mean that newest templates are tested first