[travis ci] Sort file list in generate-template-files.py.
Merge pull request #5728 from dumganhar/develop

[travis ci] Sort file list in generate-template-files.py.