Wrap cmp with cmp_to_key. Fixes #1190
Wrap cmp with cmp_to_key. Fixes #1190

https://stackoverflow.com/questions/28502774/typeerror-cmp-is-an-invalid-keyword-argument-for-this-function

dials/dials,dials/dials,dials/dials,dials/dials,dials/dials