Add key option to sort methods
One feature that I am missing from dataframes is to sort with a custom `key` function, similar to the builtin `sorted` or `list.sort`. I see there is some effort to unify sorting in issue #8239, so it might be a nice to add this powerful functionality to `pandas` while the sorting API is being overhauled.
