VSCode does have support to sort imports inside a .py file using isort. The recommended way to turn this on is via the following settings:
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
{"lastUpload":"2020-05-27T04:47:08.135Z","extensionVersion":"v3.4.3"} |