Computational Aspects of Reordering Plans