Order graph and table by consumed_on