format order table