With vim you can use this single command:
Code:
let n=1 | g/playOrder/s/playOrder="\d\+"/\='playOrder="'.n.'"'/ | let n=n+1
To automatically generate a correct sequence of playOrder.
In future versions of the ePUB spec, the playOrder attribute will probably be made optional, though.