The shuffle function works pretty well but while I can crop the pages, I cannot subsequently save the modified file.
Error message
unsupported operand type(s) for +: 'int' and 'IndirectObject'
...