Abstract: A method and system are provided which reorders a sequence of operations of a part program to reduce the number of tool changes during execution of the program. The reordered sequence maintains a sequence of at least a first portion of the operations.