Sorts template list based on lower cased names.