Added parameters to compute_table_in_order