Resolves #21. Implements sortable list for template edit form.