puts orders in a table