sort file listings

@sunglim, sort file listing in order to prevent large file diffs in the generated template files (TBR)
might need to remove. and add to `.gitignore`