Sort templates before returning
Merge pull request #12 from ben-ng/sort-it-out

Sort templates before returning