format function

Format a tbl_ord for printing