Reorder RPMs to install in the correct order.