Thanks to Maxime de Roucy for the hint that the "cmpfunc" type doesn't exist.
UNO bindings for the Python programming language.