4.14. Help With Creating Function KeysΒΆ

If you need to create a complicated key argument to (for example) natsorted() that is actually multiple functions called one after the other, the following function can help you easily perform this action. It is used internally to natsort, and has been exposed publically for the convenience of the user.