Fixed missing TE names

Also, sorted materials by alphabet.