Change template order