ideal elimination order