Changed gridedit fields sorting for template model