3dda93d
Python 3 compatible sorting fixes (#1014220) Wrap compare functions and make them into key functions or forward port the cmp function.