Sort list of templates

For me this solution only works for a while. After a while they are shuffled again. Somebody else said that above, too, I think.