sort day block in shablon