Change ordering in template