Sort array to avoid restarts
Merge pull request #33 from claco/sort-template-output

Merged automatically by jenkins after successful build test