Total-Order and Partial-Order Planning: A Comparative Analysis