fix render_column with a proc template
update ProcTemplate tests
sort only by real columns