Is there a tool to reorder a Python module or class alphabetically or in some other predefined manner (e.g., ordering the methods of a subclass the same as the base class)? I can obviously do this by hand, but it would be nice if there were some tool to perform this function.
I came across the Rearrange Code section in PyCharm's documentation. Apparently similar functionality is available for JavaScript and XML, but not for Python. Furthermore, web searches just lead to posts/articles about sorting in Python, so there does not seem to be a lot of information out there on this topic.