Print table column sorting. Fixes frappe/erpnext#1673