Hello David
The output of such commands can be frustrating when the output can’t be manipulated as desired. It looks like the command has no options for listing the peer templates in another order. The commands display the templates in the order they were configured, not sorted by any index or alphabetically.
At the end of the post, you’ll find links to the official Cisco entries in the CLI reference for both of these commands. As stated by Cisco for both:
The output can be filtered to display a single peer policy template using the policy-template-name argument. This command also supports all standard output modifiers.
So, using either the additional argument or using standard output modifiers, you can sort through and find what you’re looking for.
I hope this has been helpful!
Laz