[TASK] fix sorting use templavoila information