Fields like template name, author, acknowledgement can have leading and trailing spaces. Stripping these spaces during new template creation and, possibly, when the existing template list is received from the backend, might be beneficial. Without it, sorting, in particular, can be unreliable or outright confusing to users.